diff --git a/.github/workflows/channels-ci.yml b/.github/workflows/channels-ci.yml index 7d71862ba7..f89ee722a9 100644 --- a/.github/workflows/channels-ci.yml +++ b/.github/workflows/channels-ci.yml @@ -7,7 +7,7 @@ on: - mono-repo* concurrency: group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ !contains( github.ref , 'heads/ref/master') }} + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} defaults: run: shell: bash diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bbf50ad3ed..8197f9a20f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ env: go-version: "1.19.5" concurrency: group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ !contains( github.ref , 'heads/ref/master') }} + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} jobs: check-mocks: name: Check mocks diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a554f95b31..597302f900 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -2,7 +2,7 @@ name: "CodeQL" concurrency: group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ !contains( github.ref , 'heads/ref/master') }} + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} on: pull_request: diff --git a/.github/workflows/e2e-tests-ci.yml b/.github/workflows/e2e-tests-ci.yml index d620d69555..89c7cbfeed 100644 --- a/.github/workflows/e2e-tests-ci.yml +++ b/.github/workflows/e2e-tests-ci.yml @@ -7,7 +7,7 @@ on: - mono-repo* concurrency: group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ !contains( github.ref , 'heads/ref/master') }} + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} defaults: run: shell: bash diff --git a/.github/workflows/scorecards-analysis.yml b/.github/workflows/scorecards-analysis.yml index 01522a547c..685c9a4ebf 100644 --- a/.github/workflows/scorecards-analysis.yml +++ b/.github/workflows/scorecards-analysis.yml @@ -7,7 +7,7 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ !contains( github.ref , 'heads/ref/master') }} + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} # Declare default permissions as read only. permissions: read-all