Skip to content

Commit

Permalink
changed permissions to id-token
Browse files Browse the repository at this point in the history
  • Loading branch information
atteggiani committed Nov 8, 2023
1 parent ff1134b commit 1b17f69
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/create_pr_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
- reopened
- synchronize

permissions:
contents: write
id-token: write

concurrency:
group: preview-${{ github.event.number }}
cancel-in-progress: true
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/deploy_development_website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions:
contents: write
id-token: write

concurrency:
group: deploy-development
cancel-in-progress: true
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

permissions:
contents: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/remove_pr_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
types:
- closed

permissions:
contents: write
id-token: write

concurrency:
group: preview-${{ github.ref }}
cancel-in-progress: true
Expand Down

0 comments on commit 1b17f69

Please sign in to comment.