Răsfoiți Sursa

Closes: #17795 - Add concurrency to CI (#18042)

* Closes: #17795 - Add concurrency to CI

* Add comment to demonstrate functionality
Daniel Sheppard 1 an în urmă
părinte
comite
13bd2ed767
1 a modificat fișierele cu 5 adăugiri și 0 ștergeri
  1. 5 0
      .github/workflows/ci.yml

+ 5 - 0
.github/workflows/ci.yml

@@ -15,6 +15,11 @@ on:
 permissions:
   contents: read
 
+# Add concurrency group to control job running
+concurrency:
+  group: ${{ github.event_name }}-${{ github.ref }}-${{ github.actor }}
+  cancel-in-progress: true
+
 jobs:
   build:
     runs-on: ubuntu-latest