Skip to content

Commit 30c0cb3

Browse files
committed
Do not send notification when build is started from pull request.
1 parent 4b7384b commit 30c0cb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ jobs:
147147
name: Notification
148148
needs: [ build ]
149149
runs-on: ubuntu-20.04
150-
if: ${{ always() }}
150+
if: ${{ always() && github.event_name != 'pull_request' }}
151151

152152
steps:
153153
- name: Pushover notification

0 commit comments

Comments
 (0)