Skip to content

Commit 44f077b

Browse files
committed
Tools - Define permissions for pboProject workflows
1 parent 36514ed commit 44f077b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/pboproject.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
- master
77
pull_request_target:
88

9+
permissions:
10+
contents: read
11+
checks: write
12+
statuses: write
13+
914
jobs:
1015
pboproject:
1116
runs-on: windows-latest
@@ -35,6 +40,7 @@ jobs:
3540
uses: actions/checkout@v6
3641
if: ${{ github.event_name == 'pull_request_target' }}
3742
with:
43+
allow-unsafe-pr-checkout: true
3844
path: pullrequest
3945
ref: 'refs/pull/${{ github.event.number }}/merge'
4046
- name: Replace addons with pull request addons

0 commit comments

Comments
 (0)