From 053fe4b3316172b03efda92d0084b4fad74b5980 Mon Sep 17 00:00:00 2001 From: Akos Kiss Date: Tue, 12 Jan 2021 16:36:59 +0100 Subject: [PATCH] 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 --- .github/workflows/gh-actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gh-actions.yml b/.github/workflows/gh-actions.yml index 12ce1861a..15fc5b2a2 100644 --- a/.github/workflows/gh-actions.yml +++ b/.github/workflows/gh-actions.yml @@ -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