workflows: gatekeeper: Update permissions

Restrict the permissions of gatekeeper flow to read
contents only for better security

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman 2025-05-28 09:57:19 +01:00
parent aab6caa141
commit 2f0dc2ae24

View File

@ -19,6 +19,8 @@ concurrency:
jobs:
gatekeeper:
runs-on: ubuntu-22.04
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with: