Skip to content

Commit d395359

Browse files
committed
Github Action: Update permissions
1 parent be6986d commit d395359

File tree

5 files changed

+21
-0
lines changed

5 files changed

+21
-0
lines changed

.github/workflows/approve_full_tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
issue_comment:
55
types: [created]
66

7+
permissions:
8+
issues: write
9+
pull-requests: read
10+
711
jobs:
812
approve-full-tests:
913
runs-on: ubuntu-latest

.github/workflows/claude-code-review.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
pull_request:
66
types: [opened, synchronize, ready_for_review, reopened]
77

8+
permissions:
9+
issues: read
10+
pull-requests: read
11+
id-token: write
12+
813
jobs:
914
claude-review:
1015
uses: revenuecat/sdk-github-workflows/.github/workflows/claude-code-review.yml@v5

.github/workflows/claude.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ on:
1111
pull_request_review:
1212
types: [submitted]
1313

14+
permissions:
15+
issues: read
16+
pull-requests: read
17+
id-token: write
18+
1419
jobs:
1520
claude:
1621
uses: revenuecat/sdk-github-workflows/.github/workflows/claude.yml@v5

.github/workflows/issue-notifications.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
schedule:
1010
- cron: "0 * * * *"
1111

12+
permissions:
13+
issues: read
14+
id-token: write
15+
1216
jobs:
1317
notify:
1418
uses: revenuecat/sdk-github-workflows/.github/workflows/issue-notifications.yml@v2

.github/workflows/lock.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
schedule:
77
- cron: "0 0 * * *" # runs at 00:00 UTC every day
88

9+
permissions:
10+
issues: write
11+
912
jobs:
1013
lock:
1114
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)