Fix: Add concurrency and permissions to verify
[ci-management.git] / .github / workflows / gerrit-verify.yaml
index cd06381..978e92e 100644 (file)
@@ -48,6 +48,13 @@ on:
         default: "{}"
         type: string
 
+concurrency:
+  # yamllint disable-line rule:line-length
+  group: ci-management-${{ github.workflow }}-${{ github.event.inputs.GERRIT_CHANGE_ID || github.run_id }}
+  cancel-in-progress: true
+
+permissions: read-all
+
 jobs:
   call-composed-ci-man-verify:
     # yamllint disable-line rule:line-length