Skip to content

Commit 5219b58

Browse files
Add least-privilege permissions to sample-test workflow (CodeQL: limit GITHUB_TOKEN)
1 parent 9aefc01 commit 5219b58

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/sdk-sample-test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
description: 'The full commit id to build'
1111
required: true
1212

13+
permissions:
14+
contents: read # checkout
15+
checks: write # github-script creates the status check
16+
1317
jobs:
1418
sdk-sample:
1519
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)