Skip to content

Commit 9acaf7f

Browse files
authored
Merge pull request #8 from pusewicz/copilot/update-contributors-workflow-condition
Skip Contributors workflow when repository owner pushes to main
2 parents 3e0aeae + 2e759f2 commit 9acaf7f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/contributors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
contrib-readme-job:
1515
runs-on: ubuntu-latest
1616
name: Automate contributors list in README
17+
if: github.event.pusher.name != github.repository_owner
1718
permissions:
1819
contents: write
1920
pull-requests: write

0 commit comments

Comments
 (0)