build: harden main.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
parent
bde785ee64
commit
b602d42073
|
@ -17,6 +17,9 @@ defaults:
|
||||||
# to improve debugging some of the longer scripts.
|
# to improve debugging some of the longer scripts.
|
||||||
shell: /bin/bash -o errexit -o pipefail -o xtrace {0}
|
shell: /bin/bash -o errexit -o pipefail -o xtrace {0}
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read # to fetch code (actions/checkout)
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
main:
|
||||||
# The type of runner that the job will run on
|
# The type of runner that the job will run on
|
||||||
|
|
Loading…
Reference in New Issue