diff --git a/.github/workflows/linux_ci.yml b/.github/workflows/linux_ci.yml index ea9ebe17e30c71..2a9f33192ea7c3 100644 --- a/.github/workflows/linux_ci.yml +++ b/.github/workflows/linux_ci.yml @@ -13,8 +13,8 @@ on: - '!**/linux_ci.yml' concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ !contains(github.ref, 'master')}} + group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.sha || github.ref }} + cancel-in-progress: true jobs: tcc: