Skip to content

Commit 5599da7

Browse files
committed
Add PR permissions
1 parent 4e7b1b3 commit 5599da7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/check-built-files.yml

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
name: Update built files
4444
permissions:
4545
contents: write
46+
pull-requests: write
4647
# This should never be changed to use local reference. Always reference the workflow in trunk.
4748
uses: desrosj/wordpress-develop/.github/workflows/reusable-check-built-files.yml@trunk
4849
secrets:

.github/workflows/reusable-check-built-files.yml

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
timeout-minutes: 10
4545
permissions:
4646
contents: write
47+
pull-requests: write
4748
steps:
4849
- name: Generate Installation Token
4950
id: generate_token

0 commit comments

Comments
 (0)