Merge pull request #6762 from thufschmitt/restrict-ci-permissions
Restrict the permissions of the CI
This commit is contained in:
commit
f653185107
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -4,6 +4,8 @@ on:
|
|||
pull_request:
|
||||
push:
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
|
||||
tests:
|
||||
|
|
5
.github/workflows/hydra_status.yml
vendored
5
.github/workflows/hydra_status.yml
vendored
|
@ -1,10 +1,11 @@
|
|||
name: Hydra status
|
||||
|
||||
permissions: read-all
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "12,42 * * * *"
|
||||
workflow_dispatch:
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
check_hydra_status:
|
||||
|
|
Loading…
Reference in a new issue