diff --git a/.github/workflows/build-android.yml b/.github/workflows/build-android.yml index d9cb7a31ae..4d1d099f25 100644 --- a/.github/workflows/build-android.yml +++ b/.github/workflows/build-android.yml @@ -5,7 +5,7 @@ name: react-native-android-build-apk on: [push, pull_request] concurrency: - group: ${{ github.workflow }}-${{ github.ref }} + group: ${{ github.ref == 'refs/heads/dev' && github.run_id || format('{0}-{1}', github.workflow, github.ref) }} cancel-in-progress: true jobs: diff --git a/.github/workflows/build-macos-m1.yml b/.github/workflows/build-macos-m1.yml index 56253dead5..6ba0b6ebee 100644 --- a/.github/workflows/build-macos-m1.yml +++ b/.github/workflows/build-macos-m1.yml @@ -2,7 +2,7 @@ name: Build macOS M1 on: [push, pull_request] concurrency: - group: ${{ github.workflow }}-${{ github.ref }} + group: ${{ github.ref == 'refs/heads/dev' && github.run_id || format('{0}-{1}', github.workflow, github.ref) }} cancel-in-progress: true jobs: diff --git a/.github/workflows/github-actions-main.yml b/.github/workflows/github-actions-main.yml index a2dd32de82..73546bb3ba 100644 --- a/.github/workflows/github-actions-main.yml +++ b/.github/workflows/github-actions-main.yml @@ -2,7 +2,7 @@ name: Joplin Continuous Integration on: [push, pull_request] concurrency: - group: ${{ github.workflow }}-${{ github.ref }} + group: ${{ github.ref == 'refs/heads/dev' && github.run_id || format('{0}-{1}', github.workflow, github.ref) }} cancel-in-progress: true jobs: diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.yml index e0aab24af9..b8990e512d 100644 --- a/.github/workflows/ui-tests.yml +++ b/.github/workflows/ui-tests.yml @@ -2,7 +2,7 @@ name: Joplin UI tests on: [push, pull_request] concurrency: - group: ${{ github.workflow }}-${{ github.ref }} + group: ${{ github.ref == 'refs/heads/dev' && github.run_id || format('{0}-{1}', github.workflow, github.ref) }} cancel-in-progress: true permissions: