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

CI: least privilege for workflows
This commit is contained in:
Michael Eischer 2023-05-26 20:29:05 +02:00 committed by GitHub
commit f74dad2afb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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