Skip to content

Commit

Permalink
Add id-token write to pr-check
Browse files Browse the repository at this point in the history
  • Loading branch information
zijchen committed Jan 23, 2024
1 parent c4dd5ce commit bd364d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/defaultLabels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ jobs:
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
permissions: read-all
permissions:
issues: write
pull-requests: write

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
deploy:
environment: Automation test # this environment requires approval before running the action
runs-on: ${{ matrix.os }}
permissions: read-all
permissions:
id-token: write
continue-on-error: true
strategy:
matrix:
Expand Down

0 comments on commit bd364d9

Please sign in to comment.