Skip to content

Commit

Permalink
Give proper permissions to the github release action to use oidc for …
Browse files Browse the repository at this point in the history
…securely accessing AWS S3 and uploading build artifacts
  • Loading branch information
varoonp123 committed Apr 20, 2024
1 parent 5c57dd1 commit 276dd28
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
build_release:
name: 🔨 Build
runs-on: ${{ matrix.config.os }}
permissions:
id-token: write
contents: read
outputs:
release_version: ${{ env.RELEASE_VERSION }}
strategy:
Expand Down Expand Up @@ -94,6 +97,8 @@ jobs:
needs:
- build_release
runs-on: ubuntu-latest
permissions:
contents: write

steps:

Expand Down

0 comments on commit 276dd28

Please sign in to comment.