From a09bb2c8b843a360530d27eb4e763aee33e35306 Mon Sep 17 00:00:00 2001 From: Eric Ball Date: Mon, 11 Dec 2023 18:01:03 -0800 Subject: [PATCH] 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 --- .github/workflows/gerrit-verify.yaml | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.16.6