Skip to content

Commit aa771e1

Browse files
authored
Skip build notifications on forks. (m4rs-mt#871)
1 parent 9d9d52a commit aa771e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nudge.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
nudge:
1212
runs-on: ubuntu-latest
1313
environment: nudge
14-
if: (!(github.event.workflow_run.name == 'Update Copyright Year' && github.event.workflow_run.event == 'push'))
14+
if: (!github.event.repository.fork && !(github.event.workflow_run.name == 'Update Copyright Year' && github.event.workflow_run.event == 'push'))
1515
steps:
1616
- name: Send notification
1717
uses: pavlovic-ivan/octo-nudge@v1

0 commit comments

Comments
 (0)