0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-30 22:34:13 -05:00

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 <andaaron@cisco.com>
This commit is contained in:
Andrei Aaron 2022-07-27 06:13:43 +00:00
parent 16e9822c7f
commit 903460c55c
No known key found for this signature in database
GPG key ID: 1207981CAFC189AD
2 changed files with 3 additions and 3 deletions

View file

@ -5,8 +5,8 @@ on:
permissions:
contents: read
issues: read|write
pull-requests: read|write
issues: write
pull-requests: write
jobs:
stale:

View file

@ -11,7 +11,7 @@ env:
permissions:
contents: read
packages: read|write
packages: write
jobs:
sync-golang: