Skip to content

Commit 52abeb7

Browse files
committed
Fix permissions
1 parent 2deba69 commit 52abeb7

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/test-pull-request.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ permissions:
1212
jobs:
1313
testing:
1414
uses: ./.github/workflows/validate-pr_job.yml
15+
secrets: inherit
16+
permissions: write-all

.github/workflows/validate-pr_job.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ name: Reusable workflow to validate a pull request
33

44
on: workflow_call
55

6+
permissions:
7+
contents: read
8+
statuses: write
9+
pull-requests: write
10+
checks: write
11+
actions: read
12+
613
jobs:
714
lint-test:
815
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)