From 1fd9234d3ada15d1b7fe8a5589bb33f5004b248d Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Wed, 14 Feb 2024 17:42:58 +0100 Subject: [PATCH] ci: grant permissions and set the secret to create the minor branch (#3621) --- .github/workflows/run-minor-release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/run-minor-release.yml b/.github/workflows/run-minor-release.yml index fb76efd0e9..748c7af32d 100644 --- a/.github/workflows/run-minor-release.yml +++ b/.github/workflows/run-minor-release.yml @@ -11,6 +11,7 @@ on: permissions: contents: write + pull-requests: write jobs: run-minor: @@ -32,6 +33,7 @@ jobs: run: make -C .github create-next-release env: CURRENT_RELEASE: ${{ inputs.version }} + GH_TOKEN: ${{ github.token }} - if: ${{ failure() }} uses: elastic/apm-pipeline-library/.github/actions/slack-message@current