]> git.openstreetmap.org Git - chef.git/blobdiff - .github/workflows/cookstyle.yml
Merge remote-tracking branch 'github/pull/715'
[chef.git] / .github / workflows / cookstyle.yml
index a9b8b962c1ec2df0c586427da8eca4b8bfe3d869..b9332e23680fb01b578e5fd9c8147a7cbccfa7bd 100644 (file)
@@ -1,14 +1,21 @@
 name: Cookstyle
 name: Cookstyle
+
 on:
   - push
   - pull_request
 on:
   - push
   - pull_request
+  - workflow_dispatch
+
+concurrency:
+  group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
+  cancel-in-progress: true
+
 jobs:
   cookstyle:
     name: Cookstyle
     runs-on: ubuntu-latest
     steps:
     - name: Check out code
 jobs:
   cookstyle:
     name: Cookstyle
     runs-on: ubuntu-latest
     steps:
     - name: Check out code
-      uses: actions/checkout@v3
+      uses: actions/checkout@v4
     - name: Setup ruby
       uses: ruby/setup-ruby@v1
       with:
     - name: Setup ruby
       uses: ruby/setup-ruby@v1
       with: