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:
@@ -210,9 +210,9 @@ jobs:
|
|||||||
|
|
||||||
Notification:
|
Notification:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event_name == 'push' && github.repository == 'jerryscript-project/jerryscript'
|
||||||
steps:
|
steps:
|
||||||
- uses: rectalogic/notify-irc@v1
|
- uses: rectalogic/notify-irc@v1
|
||||||
if: github.event_name == 'push' && github.repository == 'jerryscript-project/jerryscript'
|
|
||||||
with:
|
with:
|
||||||
channel: '#jerryscript'
|
channel: '#jerryscript'
|
||||||
nickname: jerryscript-notification
|
nickname: jerryscript-notification
|
||||||
|
|||||||
Reference in New Issue
Block a user