From 64c9a7e246eec5fc21bf8415c215a4aa43b681bc Mon Sep 17 00:00:00 2001 From: Simeon Schaub Date: Tue, 21 Sep 2021 18:29:33 -0400 Subject: [PATCH 1/2] follow up to #464 ref https://github.com/JuliaDiff/ChainRulesCore.jl/pull/464#issuecomment-924435012 --- .github/workflows/CI.yml | 2 +- .github/workflows/IntegrationTest.yml | 2 +- .github/workflows/JuliaNightly.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b1c2e4df8..11b1b2153 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -10,7 +10,7 @@ on: concurrency: # Skip intermediate builds: always. # Cancel intermediate builds: only if it is a pull request build. - group: ${{ github.ref }} + group: CI-${{ github.ref }} cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} jobs: test: diff --git a/.github/workflows/IntegrationTest.yml b/.github/workflows/IntegrationTest.yml index 57aa27ec0..29a55998b 100644 --- a/.github/workflows/IntegrationTest.yml +++ b/.github/workflows/IntegrationTest.yml @@ -8,7 +8,7 @@ on: concurrency: # Skip intermediate builds: always. # Cancel intermediate builds: only if it is a pull request build. - group: ${{ github.ref }} + group: IntegrationTest-${{ github.ref }} cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} jobs: diff --git a/.github/workflows/JuliaNightly.yml b/.github/workflows/JuliaNightly.yml index bfa13819f..d978683c5 100644 --- a/.github/workflows/JuliaNightly.yml +++ b/.github/workflows/JuliaNightly.yml @@ -10,7 +10,7 @@ on: concurrency: # Skip intermediate builds: always. # Cancel intermediate builds: only if it is a pull request build. - group: ${{ github.ref }} + group: JuliaNightly-${{ github.ref }} cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} jobs: test: From f6703bcaf0b72677eb43348f1326977561891d1a Mon Sep 17 00:00:00 2001 From: Simeon Schaub Date: Tue, 21 Sep 2021 18:36:26 -0400 Subject: [PATCH 2/2] implement @DilumAluthge's suggestion --- .github/workflows/CI.yml | 2 +- .github/workflows/IntegrationTest.yml | 2 +- .github/workflows/JuliaNightly.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 11b1b2153..6e9d5f8e6 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -10,7 +10,7 @@ on: concurrency: # Skip intermediate builds: always. # Cancel intermediate builds: only if it is a pull request build. - group: CI-${{ github.ref }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} jobs: test: diff --git a/.github/workflows/IntegrationTest.yml b/.github/workflows/IntegrationTest.yml index 29a55998b..adff4cab6 100644 --- a/.github/workflows/IntegrationTest.yml +++ b/.github/workflows/IntegrationTest.yml @@ -8,7 +8,7 @@ on: concurrency: # Skip intermediate builds: always. # Cancel intermediate builds: only if it is a pull request build. - group: IntegrationTest-${{ github.ref }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} jobs: diff --git a/.github/workflows/JuliaNightly.yml b/.github/workflows/JuliaNightly.yml index d978683c5..48ec4e141 100644 --- a/.github/workflows/JuliaNightly.yml +++ b/.github/workflows/JuliaNightly.yml @@ -10,7 +10,7 @@ on: concurrency: # Skip intermediate builds: always. # Cancel intermediate builds: only if it is a pull request build. - group: JuliaNightly-${{ github.ref }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} jobs: test: