Skip to content

Commit e7fd329

Browse files
committed
Add permissions for claude in pr/ci workflows
1 parent 58b3050 commit e7fd329

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ env:
1515
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
1616
DOTNET_CLI_TELEMETRY_OPTOUT: true
1717

18+
permissions:
19+
contents: read # Clone and checkout repository
20+
id-token: write # OIDC token for codecov upload
21+
checks: write # Publish test results as GitHub checks
22+
pull-requests: write # Required by test result publisher action
23+
1824
jobs:
1925
build-and-test:
2026
name: Build & Test

.github/workflows/pr.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ env:
1515
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
1616
DOTNET_CLI_TELEMETRY_OPTOUT: true
1717

18+
permissions:
19+
contents: read # Clone and checkout repository
20+
id-token: write # OIDC token for codecov upload
21+
checks: write # Publish test results as GitHub checks
22+
pull-requests: write # Required by test result publisher action
23+
1824
jobs:
1925
build-and-test:
2026
name: Build & Test

0 commit comments

Comments
 (0)