Skip to content

Commit

Permalink
Move token permissions for deployment in file (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
wawrzek authored Aug 17, 2024
1 parent f2929e7 commit 07aa9e0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
env:
CARGO_TERM_COLOR: always

# To double check
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -65,9 +70,6 @@ jobs:
role-to-assume: arn:aws:iam::381491931967:role/GitHubAction-EC2-RO
role-session-name: deploy-role-session
aws-region: us-east-2
# To double check
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout



Expand Down

0 comments on commit 07aa9e0

Please sign in to comment.