diff options
author | Benjamin Gilbert <bgilbert@redhat.com> | 2021-07-28 18:32:04 -0400 |
---|---|---|
committer | Benjamin Gilbert <bgilbert@redhat.com> | 2021-07-28 18:32:04 -0400 |
commit | d9483f89ad2035b4cf4038b4ffe7dc297c2b7f0d (patch) | |
tree | 2592848e0aeeb2c5be96d3e07164a6493632a0e7 /.github/workflows/tests.yml | |
parent | 079528971ce9572e75d088b328efe5f84b52c988 (diff) | |
download | ostree-d9483f89ad2035b4cf4038b4ffe7dc297c2b7f0d.tar.gz |
workflows: limit permissions to reading repo contents
Move the existing docs permissions stanza to the top of the workflow for
consistency.
Diffstat (limited to '.github/workflows/tests.yml')
-rw-r--r-- | .github/workflows/tests.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 45626be2..df1b1e07 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,11 +1,15 @@ --- name: Tests + on: push: branches: [main] pull_request: branches: [main] +permissions: + contents: read + jobs: tests: # Distro configuration matrix |