summaryrefslogtreecommitdiff
path: root/.github/workflows/check_cirrus_cron.yml
diff options
context:
space:
mode:
authornaveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>2022-03-30 20:32:28 +0000
committernaveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>2022-03-30 20:36:23 +0000
commit9cacc18c951d4497b5979f96d829c86ca41f777f (patch)
tree5e3848aa4891a4ff4b1ebd5f4e062d2acb58f042 /.github/workflows/check_cirrus_cron.yml
parent3c75c4a54cba6a1949e53c4386447120b7ddb5a9 (diff)
downloadpodman-9cacc18c951d4497b5979f96d829c86ca41f777f.tar.gz
podman-9cacc18c951d4497b5979f96d829c86ca41f777f.tar.bz2
podman-9cacc18c951d4497b5979f96d829c86ca41f777f.zip
Set permissions for GitHub actions
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
Diffstat (limited to '.github/workflows/check_cirrus_cron.yml')
-rw-r--r--.github/workflows/check_cirrus_cron.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/check_cirrus_cron.yml b/.github/workflows/check_cirrus_cron.yml
index 5704b0b9d..bca77e4d9 100644
--- a/.github/workflows/check_cirrus_cron.yml
+++ b/.github/workflows/check_cirrus_cron.yml
@@ -25,6 +25,9 @@ env:
# (must be in $GITHUB_WORKSPACE/artifacts/)
NAME_ID_FILEPATH: './artifacts/name_id.txt'
+permissions:
+ contents: read
+
jobs:
cron_failures:
runs-on: ubuntu-latest