Skip to content

Commit

Permalink
Skip build notifications on forks.
Browse files Browse the repository at this point in the history
  • Loading branch information
MoFtZ committed Oct 24, 2022
1 parent 278fdf4 commit 2671c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nudge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
nudge:
runs-on: ubuntu-latest
environment: nudge
if: (!(github.event.workflow_run.name == 'Update Copyright Year' && github.event.workflow_run.event == 'push'))
if: (!github.event.repository.fork && !(github.event.workflow_run.name == 'Update Copyright Year' && github.event.workflow_run.event == 'push'))
steps:
- name: Send notification
uses: pavlovic-ivan/octo-nudge@v1
Expand Down

0 comments on commit 2671c1c

Please sign in to comment.