Skip to content

Commit

Permalink
Add permissions for the publish-unit-test-result-action (#19103)
Browse files Browse the repository at this point in the history
  • Loading branch information
nubtron authored Nov 21, 2024
1 parent 06135a3 commit 61a4810
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test-results-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ jobs:
BADGES_BRANCH: badges
BADGE_PATH: test-results.svg

permissions:
checks: write
pull-requests: write
contents: write

steps:
- uses: actions/checkout@v4
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test-results-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ jobs:
name: Publish test results
runs-on: ubuntu-22.04

permissions:
checks: write
pull-requests: write
contents: write

steps:
- name: Download and extract artifacts
id: download
Expand Down

0 comments on commit 61a4810

Please sign in to comment.