forked from TrueCloudLab/restic
CI: least privilege for workflows
This commit is contained in:
parent
13c32b0fbe
commit
6e5b42d5c4
1 changed files with 3 additions and 0 deletions
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
|
@ -8,6 +8,9 @@ on:
|
|||
# run tests for all pull requests
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
env:
|
||||
latest_go: "1.20.x"
|
||||
GO111MODULE: on
|
||||
|
|
Loading…
Reference in a new issue