Browse Source

CI: Update github.ref to github.ref_name

See https://github.blog/changelog/2023-09-13-github-actions-updates-to-github_ref-and-github-ref
Max Hilbrunner 6 months ago
parent
commit
1b429b4c35
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .github/workflows/ci.yml
  2. 1 1
      .github/workflows/sync_class_ref.yml

+ 1 - 1
.github/workflows/ci.yml

@@ -5,7 +5,7 @@ on:
   pull_request:
   pull_request:
 
 
 concurrency:
 concurrency:
-  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}
   cancel-in-progress: true
   cancel-in-progress: true
 
 
 jobs:
 jobs:

+ 1 - 1
.github/workflows/sync_class_ref.yml

@@ -11,7 +11,7 @@ on:
 
 
 # Make sure jobs cannot overlap.
 # Make sure jobs cannot overlap.
 concurrency:
 concurrency:
-  group: classref-sync-ci-master
+  group: classref-sync-ci-${{ github.ref_name }}
   cancel-in-progress: true
   cancel-in-progress: true
 
 
 jobs:
 jobs: