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 [email protected]
This commit is contained in:
1 parent
6f0391dd66
commit
053fe4b331
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user