Skip to content

Commit db6f61c

Browse files
authored
Add permissions for publishing JUnit report (#10169)
Based on suggestion in https://github.com/mikepenz/action-junit-report?tab=readme-ov-file#pr-run-permissions Recent PRs marked as `ready` run the JUnit step, but are missing the report because of permissions. This PR should fix that.
1 parent c72bb7c commit db6f61c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/full-check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ on:
1515
# Allow running manually
1616
pull_request:
1717
types: [ labeled, synchronize ]
18+
permissions:
19+
# allow publishing JUnit report for PRs
20+
checks: write
1821
jobs:
1922
build:
2023
if: ${{ !github.event.pull_request || contains(github.event.pull_request.labels.*.name, 'ready') }}

0 commit comments

Comments
 (0)