diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index bfcbeec5..15c7b043 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -102,7 +102,7 @@ jobs: - name: security/anchore-scan id: anchore-operator - uses: mattermost/actions/delivery/anchore-scan@003fac68730de6e3e2dc31939e7f2c460f2a8ba0 + uses: mattermost/actions/delivery/anchore-scan@354df0f666759a18085c7c7135db533f6b1da367 with: image_name: mattermost/mattermost-operator:${{ github.ref_name }} dockerfile_path: ./Dockerfile @@ -115,7 +115,7 @@ jobs: - name: security/anchore-scan-fips id: anchore-operator-fips - uses: mattermost/actions/delivery/anchore-scan@003fac68730de6e3e2dc31939e7f2c460f2a8ba0 + uses: mattermost/actions/delivery/anchore-scan@354df0f666759a18085c7c7135db533f6b1da367 with: image_name: mattermost/mattermost-operator-fips:${{ github.ref_name }} dockerfile_path: ./Dockerfile.fips diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 84f1e04a..3002572c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,10 @@ on: - "v**" pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + env: ENABLE_FIPS_BUILDS: true # Set to false to disable FIPS builds