mirror of
https://github.com/dorny/test-reporter.git
synced 2026-03-21 23:52:12 +01:00
Explicitly use lowest permissions required to run workflow
This commit is contained in:
parent
0c2b2aa1e0
commit
bd74ca6c12
4 changed files with 13 additions and 0 deletions
3
.github/workflows/check-dist.yml
vendored
3
.github/workflows/check-dist.yml
vendored
|
|
@ -16,6 +16,9 @@ on:
|
|||
- '**.md'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
check-dist:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -8,6 +8,9 @@ on:
|
|||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build-test:
|
||||
name: Build & Test
|
||||
|
|
|
|||
3
.github/workflows/manual-run.yml
vendored
3
.github/workflows/manual-run.yml
vendored
|
|
@ -3,6 +3,9 @@ name: Manual run
|
|||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
check-dist:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
4
.github/workflows/test-report.yml
vendored
4
.github/workflows/test-report.yml
vendored
|
|
@ -6,6 +6,10 @@ on:
|
|||
types:
|
||||
- completed
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
actions: read
|
||||
|
||||
jobs:
|
||||
report:
|
||||
name: Workflow test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue