Skip to content

Commit 185715a

Browse files
committed
Add comment to permission grants
1 parent c879ae5 commit 185715a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ jobs:
5959
name: "Build and Validate"
6060
runs-on: "windows-2025-vs2026"
6161
permissions:
62-
checks: "write"
63-
pull-requests: "write"
62+
checks: "write" # needed by EnricoMi/publish-unit-test-result-action
63+
pull-requests: "write" # needed by EnricoMi/publish-unit-test-result-action
6464
defaults:
6565
run:
6666
shell: "pwsh"
@@ -156,9 +156,9 @@ jobs:
156156
if: ${{ github.event_name == 'workflow_dispatch' }}
157157
runs-on: "ubuntu-latest"
158158
permissions:
159-
id-token: "write"
159+
id-token: "write" # needed by actions/attest
160160
contents: "read"
161-
attestations: "write"
161+
attestations: "write" # needed by actions/attest
162162
steps:
163163
- name: "Download Artifacts"
164164
uses: "actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c" # v8.0.1
@@ -180,7 +180,7 @@ jobs:
180180
if: ${{ github.event_name == 'workflow_dispatch' }}
181181
runs-on: "ubuntu-latest"
182182
permissions:
183-
id-token: "write"
183+
id-token: "write" # needed by NuGet/login
184184
defaults:
185185
run:
186186
shell: "pwsh"

0 commit comments

Comments
 (0)