From 903460c55c22de320fecc542c1309ad17c5cd8a1 Mon Sep 17 00:00:00 2001 From: Andrei Aaron Date: Wed, 27 Jul 2022 06:13:43 +0000 Subject: [PATCH] Fix permissions for image sync and stale workflows Looks like read|write is not a correct value: https://github.com/project-zot/zot/actions/runs/2743961177 https://github.com/project-zot/zot/actions/runs/2743965531 Write should include both, so let's try to use that. Signed-off-by: Andrei Aaron --- .github/workflows/stale.yaml | 4 ++-- .github/workflows/sync-golang-image.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index 178666ca..7cb8f632 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -5,8 +5,8 @@ on: permissions: contents: read - issues: read|write - pull-requests: read|write + issues: write + pull-requests: write jobs: stale: diff --git a/.github/workflows/sync-golang-image.yaml b/.github/workflows/sync-golang-image.yaml index d1f1b69f..f51f4d95 100644 --- a/.github/workflows/sync-golang-image.yaml +++ b/.github/workflows/sync-golang-image.yaml @@ -11,7 +11,7 @@ env: permissions: contents: read - packages: read|write + packages: write jobs: sync-golang: