Skip to content

Commit

Permalink
chore(.github): Update update_contributors.yml
Browse files Browse the repository at this point in the history
增加判断,让该 action 在 fork 的项目中不触发
  • Loading branch information
boyongjiong committed Jun 19, 2024
1 parent 5e19268 commit c9b5ef5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/update_contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
contrib-readme-job:
runs-on: ubuntu-latest
name: A job to automate contributors in readme
# Only run workflow if the repository is not a fork
if: ${{ !github.event.repository.fork }}
permissions:
contents: write
pull-requests: write
Expand Down

0 comments on commit c9b5ef5

Please sign in to comment.