Set permissions on workflows

This commit is contained in:
Gabriel Augendre 2023-01-18 15:12:12 +01:00
parent d6cbfffa38
commit 6659d9cddd
3 changed files with 9 additions and 0 deletions

View file

@ -20,6 +20,9 @@ on:
schedule:
- cron: '35 4 * * 3'
permissions:
contents: read
jobs:
analyze:
name: Analyze

View file

@ -5,6 +5,9 @@ on:
branches:
- master
permissions:
contents: read
jobs:
tests:
uses: ./.github/workflows/test.yaml

View file

@ -5,6 +5,9 @@ on:
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
tests:
name: Python tests