2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-21 18:22:22 +00:00

CI: least privilege for workflows

This commit is contained in:
Michael Eischer 2023-05-26 19:58:02 +02:00
parent 13c32b0fbe
commit 6e5b42d5c4

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