mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 22:07:09 +01:00
Add permissions to example yml files
This action requires the checks: write permission so I've added an example in the readme to save people from digging around to find the right permission
This commit is contained in:
parent
e9fa2f582c
commit
ea0fb9188a
1 changed files with 8 additions and 0 deletions
|
|
@ -33,6 +33,10 @@ If that's fine for you, using this action is as simple as:
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
actions: read
|
||||||
|
checks: write
|
||||||
jobs:
|
jobs:
|
||||||
build-test:
|
build-test:
|
||||||
name: Build & Test
|
name: Build & Test
|
||||||
|
|
@ -86,6 +90,10 @@ on:
|
||||||
workflows: ['CI'] # runs after CI workflow
|
workflows: ['CI'] # runs after CI workflow
|
||||||
types:
|
types:
|
||||||
- completed
|
- completed
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
actions: read
|
||||||
|
checks: write
|
||||||
jobs:
|
jobs:
|
||||||
report:
|
report:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue