Skip to content

Commit 86939f9

Browse files
jcrapuchettesclaude
andcommitted
Add packages write permission to workflows
GitHub Actions workflows need explicit permissions to push to GHCR. Added: permissions: contents: read packages: write This fixes the "installation not allowed to Create organization package" error. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent d483466 commit 86939f9

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ jobs:
77
release:
88
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
99
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
packages: write
1013
strategy:
1114
matrix:
1215
pg_version:

.github/workflows/push.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ jobs:
8080
runs-on: ubuntu-latest
8181
needs: [build, unit, staticcheck, errcheck]
8282
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
83+
permissions:
84+
contents: read
85+
packages: write
8386
strategy:
8487
matrix:
8588
pg_version:

0 commit comments

Comments
 (0)