Set read-all permission to GITHUB_TOKEN for CI jobs
This commit is contained in:
parent
a98e479e71
commit
9e3ce3f3a4
4 changed files with 7 additions and 0 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -1,4 +1,6 @@
|
|||
name: CI Workflow
|
||||
permissions: read-all
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
|
|
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
|
@ -11,6 +11,8 @@
|
|||
#
|
||||
name: "CodeQL"
|
||||
|
||||
permissions: read-all
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
|
|
1
.github/workflows/docker.yml
vendored
1
.github/workflows/docker.yml
vendored
|
@ -1,4 +1,5 @@
|
|||
name: Docker
|
||||
permissions: read-all
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 1 * * *'
|
||||
|
|
2
.github/workflows/linters.yml
vendored
2
.github/workflows/linters.yml
vendored
|
@ -1,4 +1,6 @@
|
|||
name: Linters
|
||||
permissions: read-all
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
|
|
Loading…
Reference in a new issue