Skip to content

Commit

Permalink
ci: Update permissions for publish job workflow.
Browse files Browse the repository at this point in the history
- Update permissions in publish job to include contents and packages
- Resolve potential security vulnerabilities in publish job configuration
  • Loading branch information
johnnyhuy committed Apr 18, 2024
1 parent c9de814 commit 03b5099
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ jobs:
publish:
runs-on: ubuntu-latest

permissions:
contents: read
packages: write

strategy:
matrix:
platform:
Expand Down

0 comments on commit 03b5099

Please sign in to comment.