diff options
author | Diogo Teles Sant'Anna <diogoteles@google.com> | 2023-06-16 14:57:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-16 14:57:14 (GMT) |
commit | 5e8a230619fc06b213fc2ad66b4a70f52429b68d (patch) | |
tree | 716811f49f8ffb8200a942ad27a32c48edc3c2fb /.github/workflows/daily-build.yml | |
parent | 8135cc280c63f72dc1818b642a2b21a7a1b9b6dd (diff) | |
download | hdf5-5e8a230619fc06b213fc2ad66b4a70f52429b68d.zip hdf5-5e8a230619fc06b213fc2ad66b4a70f52429b68d.tar.gz hdf5-5e8a230619fc06b213fc2ad66b4a70f52429b68d.tar.bz2 |
Define minimal permissions for new GitHub workflows (#3147)
Diffstat (limited to '.github/workflows/daily-build.yml')
-rw-r--r-- | .github/workflows/daily-build.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/daily-build.yml b/.github/workflows/daily-build.yml index 265a6c3..ec35e10 100644 --- a/.github/workflows/daily-build.yml +++ b/.github/workflows/daily-build.yml @@ -6,6 +6,9 @@ on: schedule: - cron: "6 0 * * *" +permissions: + contents: read + # A workflow run is made up of one or more jobs that can run sequentially or # in parallel. jobs: @@ -21,6 +24,8 @@ jobs: call-workflow-release: needs: [call-workflow-tarball, call-workflow-ctest] + permissions: + contents: write # In order to allow tag creation uses: ./.github/workflows/release.yml with: file_base: ${{ needs.call-workflow-tarball.outputs.file_base }} |