mirror of https://github.com/restic/restic.git
Merge pull request #4340 from restic/least-privilege-ci
CI: least privilege for workflows
This commit is contained in:
commit
f74dad2afb
|
@ -8,6 +8,9 @@ on:
|
||||||
# run tests for all pull requests
|
# run tests for all pull requests
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
env:
|
env:
|
||||||
latest_go: "1.20.x"
|
latest_go: "1.20.x"
|
||||||
GO111MODULE: on
|
GO111MODULE: on
|
||||||
|
|
Loading…
Reference in New Issue