chore(devops): Fix GH overriding main branch statuses (#4639)

This commit is contained in:
Andrew Dryga
2024-04-16 10:41:13 -06:00
committed by GitHub
parent e1ef5f1e69
commit a6f32aa769
3 changed files with 4 additions and 4 deletions

View File

@@ -19,8 +19,8 @@ env:
# Cancel old workflow runs if new code is pushed
concurrency:
group: "ci-${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
group: "ci-${{ github.event_name }}-${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: ${{ github.event_name != 'workflow_call' }}
jobs:
kotlin:

View File

@@ -12,7 +12,7 @@ on:
required: false
concurrency:
group: "hotfix-production-${{ github.workflow }}-${{ github.ref }}"
group: "hotfix-production-${{ github.event_name }}-${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: false
jobs:

View File

@@ -10,7 +10,7 @@ env:
VERSION: "1.0.0"
concurrency:
group: "cd-production-${{ github.workflow }}-${{ github.ref }}"
group: "publish-production-${{ github.event_name }}-${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: false
jobs: