fix: add packages write permission for Docker image push to GHCR
Some checks failed
CI/CD Pipeline / Run Tests (3.10) (push) Has been cancelled
CI/CD Pipeline / Run Tests (3.11) (push) Has been cancelled
CI/CD Pipeline / Run Tests (3.9) (push) Has been cancelled
Docker Build and Test / Build and Test Docker Image (push) Has been cancelled
Deploy to GitHub Pages / deploy (push) Has been cancelled
CI/CD Pipeline / Security Scan (push) Has been cancelled
CI/CD Pipeline / Build and Push Docker Image (push) Has been cancelled
CI/CD Pipeline / Deploy to Staging (push) Has been cancelled
CI/CD Pipeline / Deploy to Production (push) Has been cancelled
CI/CD Pipeline / Send Notifications (push) Has been cancelled
Docker Build and Test / Test Multi-platform Build (push) Has been cancelled
Update README Stats / update-stats (push) Has been cancelled

The build job was failing with:
'denied: installation not allowed to Create organization package'

Added required permissions to build job:
- packages: write (for pushing to GitHub Container Registry)
- contents: read
- id-token: write

This allows the workflow to push Docker images to ghcr.io/zie619/n8n-workflows

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
zie619
2025-11-03 22:16:02 +02:00
parent 54770f7865
commit 51721cf44a

View File

@@ -120,6 +120,10 @@ jobs:
runs-on: ubuntu-latest
needs: [test, security]
if: github.event_name != 'pull_request'
permissions:
contents: read
packages: write
id-token: write
steps:
- name: Checkout code