From adf7cb0629546a86ef773f20f2bce3b2200a4c8f Mon Sep 17 00:00:00 2001 From: Marcin Date: Tue, 5 Mar 2024 14:10:46 +0100 Subject: [PATCH] A0-4126: Fixed slack notification workflow condition --- .github/workflows/build-and-deploy-to-devnet.yaml | 7 +------ .github/workflows/build-and-deploy-to-mainnet.yaml | 4 +--- .github/workflows/build-and-deploy-to-testnet.yaml | 4 +--- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-and-deploy-to-devnet.yaml b/.github/workflows/build-and-deploy-to-devnet.yaml index b3139f9210..ff79005e2c 100644 --- a/.github/workflows/build-and-deploy-to-devnet.yaml +++ b/.github/workflows/build-and-deploy-to-devnet.yaml @@ -5,9 +5,6 @@ on: push: branches: - master - paths-ignore: - - ".github/**" - - "*.md" jobs: build-and-push: @@ -53,9 +50,7 @@ jobs: name: Slack notification runs-on: ubuntu-20.04 needs: [deploy-to-devnet] - if: > - !cancelled() && - github.event_name != 'workflow_dispatch' + if: always() steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/build-and-deploy-to-mainnet.yaml b/.github/workflows/build-and-deploy-to-mainnet.yaml index 689d59c728..9a2f21e142 100644 --- a/.github/workflows/build-and-deploy-to-mainnet.yaml +++ b/.github/workflows/build-and-deploy-to-mainnet.yaml @@ -47,9 +47,7 @@ jobs: name: Slack notification runs-on: ubuntu-20.04 needs: [deploy-to-mainnet] - if: > - !cancelled() && - github.event_name != 'workflow_dispatch' + if: always() steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/build-and-deploy-to-testnet.yaml b/.github/workflows/build-and-deploy-to-testnet.yaml index 675e00ffe6..3da943446e 100644 --- a/.github/workflows/build-and-deploy-to-testnet.yaml +++ b/.github/workflows/build-and-deploy-to-testnet.yaml @@ -47,9 +47,7 @@ jobs: name: Slack notification runs-on: ubuntu-20.04 needs: [deploy-to-testnet] - if: > - !cancelled() && - github.event_name != 'workflow_dispatch' + if: always() steps: - name: Checkout repository uses: actions/checkout@v4