summaryrefslogtreecommitdiffstats
path: root/.github/workflows/netcdf.yml
diff options
context:
space:
mode:
authorDiogo Teles Sant'Anna <diogoteles@google.com>2023-06-16 14:57:14 (GMT)
committerGitHub <noreply@github.com>2023-06-16 14:57:14 (GMT)
commit5e8a230619fc06b213fc2ad66b4a70f52429b68d (patch)
tree716811f49f8ffb8200a942ad27a32c48edc3c2fb /.github/workflows/netcdf.yml
parent8135cc280c63f72dc1818b642a2b21a7a1b9b6dd (diff)
downloadhdf5-5e8a230619fc06b213fc2ad66b4a70f52429b68d.zip
hdf5-5e8a230619fc06b213fc2ad66b4a70f52429b68d.tar.gz
hdf5-5e8a230619fc06b213fc2ad66b4a70f52429b68d.tar.bz2
Define minimal permissions for new GitHub workflows (#3147)
Diffstat (limited to '.github/workflows/netcdf.yml')
-rw-r--r--.github/workflows/netcdf.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/netcdf.yml b/.github/workflows/netcdf.yml
index 137e5e5..37041d6 100644
--- a/.github/workflows/netcdf.yml
+++ b/.github/workflows/netcdf.yml
@@ -14,6 +14,9 @@ on:
- 'COPYING**'
- '**.md'
+permissions:
+ contents: read
+
# Using concurrency to cancel any in-progress job or run
concurrency:
group: ${{ github.workflow }}-${{ github.sha || github.event.pull_request.number }}