Skip to content

Commit

Permalink
fix(actions): permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavovalverde committed Jul 14, 2024
1 parent c74a9b0 commit ad23cf8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/cd-deploy-to-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

permissions: read-all
permissions:
contents: read
id-token: write

jobs:
build:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/cd-deploy-to-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

permissions: read-all
permissions:
contents: read
id-token: write

jobs:
build:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/cd-deploy-to-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

permissions: read-all
permissions:
contents: read
id-token: write

jobs:
build:
Expand Down

0 comments on commit ad23cf8

Please sign in to comment.