ci: add minimum GitHub token permissions for workflows
Signed-off-by: Ashish Kurmi <akurmi@stepsecurity.io>
This commit is contained in:
parent
0d8c8ba71b
commit
d9386c68a9
2 changed files with 9 additions and 0 deletions
3
.github/workflows/tests.yaml
vendored
3
.github/workflows/tests.yaml
vendored
|
|
@ -16,6 +16,9 @@ on:
|
|||
- 'docs/**'
|
||||
- '*.md'
|
||||
- '*.rst'
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
name: ${{ matrix.name }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue