Skip to content

Commit

Permalink
Add missing permissions in master.yml and publish-test-results-pr.ym. (
Browse files Browse the repository at this point in the history
  • Loading branch information
nubtron authored Nov 25, 2024
1 parent 724038e commit a3cc689
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,10 @@ jobs:
concurrency:
group: test-results

permissions: # For test-results-master.yml
checks: write
pull-requests: write
contents: write

uses: DataDog/integrations-core/.github/workflows/test-results-master.yml@master
secrets: inherit
4 changes: 3 additions & 1 deletion .github/workflows/publish-test-results-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ jobs:
publish:
uses: DataDog/integrations-core/.github/workflows/test-results-pr.yml@master
if: github.event.workflow_run.conclusion != 'skipped'
permissions:
permissions: # For test-results-pr.yml
checks: write
pull-requests: write
contents: read
actions: read
secrets: inherit

0 comments on commit a3cc689

Please sign in to comment.