Skip to content

Commit 55f6da4

Browse files
committed
ci: fix broken release-publish jobs
1 parent 22e697e commit 55f6da4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ jobs:
6363
release:
6464
needs: [build]
6565
name: Publish / Release
66+
permissions:
67+
contents: write
6668
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
6769
outputs:
6870
git-tag: ${{ steps.semantic.outputs.git-tag }}
@@ -84,6 +86,8 @@ jobs:
8486
ghcr:
8587
name: Publish / GHCR
8688
runs-on: ubuntu-latest
89+
permissions:
90+
packages: write
8791
if: |
8892
github.repository_owner == 'Virtool' &&
8993
github.event_name == 'push' &&

0 commit comments

Comments
 (0)