Skip to content

Commit

Permalink
chore(release): add missing permissions for semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
dominique-pfister committed Oct 1, 2024
1 parent 275e96e commit 5be61ba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5be61ba

Please sign in to comment.