diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2022-11-02 01:29:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-02 01:29:41 -0400 |
commit | d56b551e3965ae28a60180bae97683bb67ca368f (patch) | |
tree | 06c150f3680d76865b08c7887c1fef7e9aa195d8 /.github/workflows/coverage.yml | |
parent | 1adc032570425db2edacfd6ad12eb0f6ea224191 (diff) |
ci: try only having cancel-in-progress for non-main branch (#864)
Diffstat (limited to '.github/workflows/coverage.yml')
-rw-r--r-- | .github/workflows/coverage.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index f1f49ffe..5e4f85f5 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -13,8 +13,8 @@ env: CARGO_INCREMENTAL: 0 concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true + group: ${{ github.workflow }}-${{ github.event.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' || github.repository != 'ClementTsang/bottom' }} jobs: pre_job: |