Merge pull request #6762 from thufschmitt/restrict-ci-permissions

Restrict the permissions of the CI
This commit is contained in:
Théophane Hufschmitt 2022-07-05 17:11:16 +02:00 committed by GitHub
commit f653185107
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -4,6 +4,8 @@ on:
pull_request: pull_request:
push: push:
permissions: read-all
jobs: jobs:
tests: tests:

View file

@ -1,10 +1,11 @@
name: Hydra status name: Hydra status
permissions: read-all
on: on:
schedule: schedule:
- cron: "12,42 * * * *" - cron: "12,42 * * * *"
workflow_dispatch: workflow_dispatch:
permissions:
contents: read
jobs: jobs:
check_hydra_status: check_hydra_status: