build: harden main-ci.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
parent
61ecb42db9
commit
9402f8c104
3
.github/workflows/main-ci.yml
vendored
3
.github/workflows/main-ci.yml
vendored
@ -11,6 +11,9 @@ on:
|
||||
schedule:
|
||||
- cron: '0 0 * * 0'
|
||||
|
||||
permissions:
|
||||
contents: read # to fetch code (actions/checkout)
|
||||
|
||||
jobs:
|
||||
build-php:
|
||||
# Don't trigger on schedule event when in a fork
|
||||
|
Loading…
Reference in New Issue
Block a user