Skip to content

Commit b809741

Browse files
author
Ian Boyes
authored
ci: fix ghcr permissions
1 parent e801c97 commit b809741

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ jobs:
3030
name: release
3131
outputs:
3232
git-tag: ${{ steps.semantic.outputs.git-tag }}
33-
permissions:
34-
contents: read
35-
packages: write
3633
runs-on: ubuntu-24.04
3734
steps:
3835
- name: Checkout
@@ -51,6 +48,9 @@ jobs:
5148
ghcr:
5249
runs-on: ubuntu-24.04
5350
if: github.repository_owner == 'Virtool' && github.event_name == 'push' && needs.release.outputs.git-tag != ''
51+
permissions:
52+
contents: read
53+
packages: write
5454
needs: [release]
5555
steps:
5656
- name: Checkout

0 commit comments

Comments
 (0)