Explicitly declare permissions in Github workflows.
Closes #12476 Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
parent
e0b89bedd4
commit
bf18db354c
2 changed files with 6 additions and 0 deletions
3
.github/workflows/android.yml
vendored
3
.github/workflows/android.yml
vendored
|
@ -8,6 +8,9 @@ on:
|
|||
- '4.**'
|
||||
- '5.**'
|
||||
|
||||
permissions:
|
||||
contents: read # to fetch code (actions/checkout)
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
|
|
3
.github/workflows/docker.yml
vendored
3
.github/workflows/docker.yml
vendored
|
@ -4,6 +4,9 @@ on:
|
|||
schedule:
|
||||
- cron: '0 5 * * *'
|
||||
|
||||
permissions:
|
||||
contents: read # to fetch code (actions/checkout)
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue