1
0
Fork 0
mirror of https://github.com/dorny/test-reporter.git synced 2026-03-21 23:52:12 +01:00

Merge pull request #745 from dorny/feature/workflow_permissions

Explicitly use lowest permissions required to run workflow
This commit is contained in:
Jozef Izso 2026-03-21 14:19:52 +01:00 committed by GitHub
commit 62c3873e1e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 13 additions and 0 deletions

View file

@ -16,6 +16,9 @@ on:
- '**.md'
workflow_dispatch:
permissions:
contents: read
jobs:
check-dist:
runs-on: ubuntu-latest

View file

@ -8,6 +8,9 @@ on:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
build-test:
name: Build & Test

View file

@ -3,6 +3,9 @@ name: Manual run
on:
workflow_dispatch:
permissions:
contents: read
jobs:
check-dist:
runs-on: ubuntu-latest

View file

@ -6,6 +6,10 @@ on:
types:
- completed
permissions:
contents: read
actions: read
jobs:
report:
name: Workflow test