From 4b6c1a356944d4b9ef3a2a62a4e82cfc04c708a7 Mon Sep 17 00:00:00 2001 From: Wojciech Piotrowiak Date: Fri, 6 Oct 2023 13:00:53 +0200 Subject: [PATCH 1/3] AAE-17095 check if token was provided --- .github/actions/send-slack-notification/action.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/actions/send-slack-notification/action.yml b/.github/actions/send-slack-notification/action.yml index efafbe1f3..c015ca029 100644 --- a/.github/actions/send-slack-notification/action.yml +++ b/.github/actions/send-slack-notification/action.yml @@ -22,6 +22,13 @@ inputs: runs: using: composite steps: + - name: validate token + if: ${{ inputs.token == '' }} + uses: actions/github-script@v3 + with: + script: | + core.setFailed('Slack token was not provided!') + - name: Compute color id: compute-color shell: bash From 76b34c86873843a50a32db9511d1ba2cfc056a57 Mon Sep 17 00:00:00 2001 From: Wojciech Piotrowiak Date: Fri, 6 Oct 2023 13:01:48 +0200 Subject: [PATCH 2/3] AAE-17095 version bump --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index c219f7237..3d67a549d 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v3.4.0 +v3.4.1 From 266ac5ecbd44cfb4c28097651c9a3a36e25cbc72 Mon Sep 17 00:00:00 2001 From: Wojtek Piotrowiak Date: Fri, 6 Oct 2023 14:03:12 +0200 Subject: [PATCH 3/3] Update .github/actions/send-slack-notification/action.yml Co-authored-by: Anahide Tchertchian <608958+atchertchian@users.noreply.github.com> --- .github/actions/send-slack-notification/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/send-slack-notification/action.yml b/.github/actions/send-slack-notification/action.yml index c015ca029..b3f1b5aa8 100644 --- a/.github/actions/send-slack-notification/action.yml +++ b/.github/actions/send-slack-notification/action.yml @@ -22,8 +22,8 @@ inputs: runs: using: composite steps: - - name: validate token - if: ${{ inputs.token == '' }} + - name: Validate token + if: inputs.token == '' uses: actions/github-script@v3 with: script: |