Explicitly declare permissions in Github workflows.

Closes #12476

Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
Alex 2022-09-25 17:01:38 +02:00 committed by Cody Henthorne
parent e0b89bedd4
commit bf18db354c
2 changed files with 6 additions and 0 deletions

View file

@ -8,6 +8,9 @@ on:
- '4.**'
- '5.**'
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build:

View file

@ -4,6 +4,9 @@ on:
schedule:
- cron: '0 5 * * *'
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build: