Skip to content

Commit

Permalink
Add permissions to verify-devcontainers.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhemstad committed Nov 29, 2023
1 parent 9896b41 commit 391fb52
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ jobs:
verify-devcontainers:
name: Verify Dev Containers
permissions:
id-token: write
contents: read
uses: ./.github/workflows/verify-devcontainers.yml

# This job is the final job that runs after all other jobs and is used for branch protection status checks.
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/verify-devcontainers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ defaults:
run:
shell: bash -euo pipefail {0}

permissions:
contents: read

jobs:
verify-make-devcontainers:
name: Verify devcontainer files are up-to-date
Expand Down

0 comments on commit 391fb52

Please sign in to comment.