Make the whole GH Actions Notification job conditional (#4443)

Don't even start the job if the workflow event is not a push to the
master repo.

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
Akos Kiss
2021-01-12 16:36:59 +01:00
committed by GitHub
parent 6f0391dd66
commit 053fe4b331
+1 -1
View File
@@ -210,9 +210,9 @@ jobs:
Notification:
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.repository == 'jerryscript-project/jerryscript'
steps:
- uses: rectalogic/notify-irc@v1
if: github.event_name == 'push' && github.repository == 'jerryscript-project/jerryscript'
with:
channel: '#jerryscript'
nickname: jerryscript-notification