From: Eric Ball Date: Tue, 12 Dec 2023 02:01:03 +0000 (-0800) Subject: Fix: Add concurrency and permissions to verify X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ci-management.git;a=commitdiff_plain;h=a09bb2c8b843a360530d27eb4e763aee33e35306 Fix: Add concurrency and permissions to verify Though concurrency is also defined in the composed workflow, this action needs it as well. The permissions are also important to allow to nested actions to execute properly. Change-Id: I340202d53dac355a2f357535af058edd8223e175 Signed-off-by: Eric Ball --- diff --git a/.github/workflows/gerrit-verify.yaml b/.github/workflows/gerrit-verify.yaml index cd06381..978e92e 100644 --- a/.github/workflows/gerrit-verify.yaml +++ b/.github/workflows/gerrit-verify.yaml @@ -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