Skip to content

Commit c60b030

Browse files
committed
add security permissions for security-scan job in DevContainer CI workflow
1 parent 4461009 commit c60b030

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/devcontainer.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ jobs:
153153
runs-on: ubuntu-latest
154154
needs: build-devcontainer
155155
if: github.event_name != 'pull_request'
156+
permissions:
157+
contents: read
158+
security-events: write
159+
actions: read
156160

157161
steps:
158162
- name: Checkout repository

0 commit comments

Comments
 (0)