Преглед на файлове

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

* Closes: #17795 - Add concurrency to CI

* Add comment to demonstrate functionality
Daniel Sheppard преди 1 година
родител
ревизия
13bd2ed767
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  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