From 9255453ea6e447ea3923267ef64cceba7741de41 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Wed, 8 Jan 2025 22:28:24 +0100 Subject: [PATCH] prepare_release action: use token with write perms --- .github/workflows/prepare_release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/prepare_release.yml b/.github/workflows/prepare_release.yml index be62784..d8504aa 100644 --- a/.github/workflows/prepare_release.yml +++ b/.github/workflows/prepare_release.yml @@ -8,6 +8,12 @@ on: description: 'Module version to be released. Must be a valid semver string without leading v. (1.2.3)' required: true +# The action needs more permissions in order to trigger CI runs +# https://github.com/peter-evans/create-pull-request?tab=readme-ov-file#token +permissions: + contents: write + pull-requests: write + jobs: release_prep: uses: 'voxpupuli/gha-puppet/.github/workflows/prepare_release.yml@prep'