From ec4dde855a8a8696a90c73fc081e94a81a2111a9 Mon Sep 17 00:00:00 2001 From: MrCoder Date: Mon, 23 Dec 2024 22:17:14 +1100 Subject: [PATCH] ci(release): update workflow permissions for GitHub Package Registry - Add permissions section to the release workflow - Grant write access to contents and packages - Specify write contents permission for the Update Changelog job --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 382b4781..b40fcc38 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,10 @@ on: release: types: [prereleased, released] +permissions: + contents: write + packages: write + jobs: # Prepare and publish the plugin to the Marketplace repository @@ -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