Skip to content

Commit

Permalink
update concurrency group name
Browse files Browse the repository at this point in the history
  • Loading branch information
leofang committed Dec 28, 2024
1 parent 645fc39 commit 2482fe7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci-gh.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: CI

concurrency:
#group: ${{ startsWith(github.ref_name, 'main') && format('unique-{0}', github.run_id) || format('ci-build-and-test-on-{0}-from-{1}', github.event_name, github.ref_name) }}
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{
github.ref_name == 'main' && format('ci-main-build-test-{0}', github.run_id) ||
format('ci-pr-build-test-on-{0}-against-branch-{1}', github.event_name, github.ref_name)
}}
cancel-in-progress: true

on:
Expand Down

0 comments on commit 2482fe7

Please sign in to comment.