Skip to content

Commit

Permalink
scoped permission
Browse files Browse the repository at this point in the history
  • Loading branch information
eemmiillyy committed Jul 16, 2024
1 parent b32c17f commit 240ff75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-cli-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ on:
type: string
default: 'latest'

permissions:
id-token: write

jobs:
release-cli-assets:
name: Release CLI assets
Expand Down Expand Up @@ -110,6 +107,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Configure AWS Credentials for production
permissions:
id-token: write
contents: read
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.CLI_ASSETS_UPLOAD_ROLE }}
Expand Down

0 comments on commit 240ff75

Please sign in to comment.