Merge pull request #4340 from restic/least-privilege-ci

CI: least privilege for workflows
This commit is contained in:
Michael Eischer authored and GitHub committed 2023-05-26 20:29:05 +02:00
commit f74dad2afb
1 file changed
+3
+3
View File
@@ -8,6 +8,9 @@ on:
# run tests for all pull requests
pull_request:
permissions:
contents: read
env:
latest_go: "1.20.x"
GO111MODULE: on