summaryrefslogtreecommitdiffstats
path: root/.github/workflows/tarball.yml
diff options
context:
space:
mode:
authorDiogo Teles Sant'Anna <diogoteles@google.com>2023-05-18 21:08:10 (GMT)
committerGitHub <noreply@github.com>2023-05-18 21:08:10 (GMT)
commit14edcfaffd6c2bbe487236742ae19093be9fe9dd (patch)
treeca5f2ba69a559467f5806d912c50448b76882402 /.github/workflows/tarball.yml
parent482920808f1ec5f33770af1360bdf56ebec5eb8c (diff)
downloadhdf5-14edcfaffd6c2bbe487236742ae19093be9fe9dd.zip
hdf5-14edcfaffd6c2bbe487236742ae19093be9fe9dd.tar.gz
hdf5-14edcfaffd6c2bbe487236742ae19093be9fe9dd.tar.bz2
ci: set minimal permissions on GitHub Workflows (#2980)
Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>
Diffstat (limited to '.github/workflows/tarball.yml')
-rw-r--r--.github/workflows/tarball.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/tarball.yml b/.github/workflows/tarball.yml
index 12f3438..e68cb64 100644
--- a/.github/workflows/tarball.yml
+++ b/.github/workflows/tarball.yml
@@ -11,6 +11,9 @@ on:
description: "The common base name of the source tarballs"
value: ${{ jobs.create_tarball.outputs.file_base }}
+permissions:
+ contents: read
+
# A workflow run is made up of one or more jobs that can run sequentially or
# in parallel
jobs: