From 5be61ba620f9a3084f78488837967c27df2640a6 Mon Sep 17 00:00:00 2001 From: Dominique Pfister Date: Tue, 1 Oct 2024 13:21:20 +0200 Subject: [PATCH] chore(release): add missing permissions for semantic-release --- .github/workflows/main.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 6a2a74e7..60457693 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -9,6 +9,7 @@ permissions: id-token: write contents: write # semantic-release-dry verifies the write permissions issues: read # needed by semantic-release + pull-requests: write # needed by semantic-release jobs: test: @@ -53,7 +54,7 @@ jobs: # see https://github.com/aws-actions/aws-secretsmanager-get-secrets/issues/11 - name: unprefix variables run: | - for variable in "${!_HELIX_GITHUB_ACTION_SECRETS_@}"; do + for variable in "${!_HELIX_GITHUB_ACTION_SECRETS_@}"; do echo "${variable#_HELIX_GITHUB_ACTION_SECRETS_}=${!variable}" >> $GITHUB_ENV done @@ -97,7 +98,7 @@ jobs: # see https://github.com/aws-actions/aws-secretsmanager-get-secrets/issues/11 - name: unprefix variables run: | - for variable in "${!_HELIX_GITHUB_ACTION_SECRETS_@}"; do + for variable in "${!_HELIX_GITHUB_ACTION_SECRETS_@}"; do echo "${variable#_HELIX_GITHUB_ACTION_SECRETS_}=${!variable}" >> $GITHUB_ENV done