chore(repo): adjust concurrency to use unique groups for push events (#30946)
This commit is contained in:
parent
bd27fb00f3
commit
e273dec53f
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -106,8 +106,8 @@ jobs:
|
|||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}${{ contains(github.event_name, 'push') && format('-{0}', github.sha) || '' }}
|
||||||
cancel-in-progress: ${{ !contains(github.event_name, 'push')}}
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NX_E2E_CI_CACHE_KEY: e2e-github-macos
|
NX_E2E_CI_CACHE_KEY: e2e-github-macos
|
||||||
@ -118,7 +118,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Log concurrency info
|
- name: Log concurrency info
|
||||||
run: |
|
run: |
|
||||||
echo "Concurrency group: ${{ github.workflow }}-${{ github.ref }}"
|
echo "Concurrency group: ${{ github.workflow }}-${{ github.ref }}${{ contains(github.event_name, 'push') && format('-{0}', github.sha) || '' }}"
|
||||||
echo "Concurrency cancel-in-progress: ${{ !contains(github.event_name, 'push') }}"
|
echo "Concurrency cancel-in-progress: ${{ !contains(github.event_name, 'push') }}"
|
||||||
echo "Concurrency cancel-event-name: ${{ github.event_name }}"
|
echo "Concurrency cancel-event-name: ${{ github.event_name }}"
|
||||||
if: always()
|
if: always()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user