diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 65047d4f..b0bd2e5c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,6 +39,7 @@ jobs: build_multiarch: runs-on: ubuntu-22.04 needs: [ shellcheck ] + if: github.ref == 'refs/heads/master' strategy: matrix: dist: [buster, bullseye] @@ -91,7 +92,7 @@ jobs: name: Notify unsuccessful CI run steps: - name: Notify in Slack channel - if: ${{ needs.build_multiarch.result != 'success' || needs.deploy_manifests.result != 'success' }} + if: always() uses: slackapi/slack-github-action@v1.23.0 with: channel-id: C04E3CL1WP7