Skip to content

Commit

Permalink
ci(release): update workflow permissions for GitHub Package Registry
Browse files Browse the repository at this point in the history
- Add permissions section to the release workflow
- Grant write access to contents and packages
- Specify write contents permission for the Update Changelog job
  • Loading branch information
MrCoder committed Dec 23, 2024
1 parent 8594cd7 commit ec4dde8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
release:
types: [prereleased, released]

permissions:
contents: write
packages: write

jobs:

# Prepare and publish the plugin to the Marketplace repository
Expand Down Expand Up @@ -40,6 +44,8 @@ jobs:
name: Update Changelog
needs: release
runs-on: ubuntu-latest
permissions:
contents: write
steps:

# Setup Java 17 environment for the next steps
Expand Down

0 comments on commit ec4dde8

Please sign in to comment.