mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-05 14:23:53 +01:00
Set permissions on workflows
This commit is contained in:
parent
d6cbfffa38
commit
6659d9cddd
3 changed files with 9 additions and 0 deletions
3
.github/workflows/codeql-analysis.yaml
vendored
3
.github/workflows/codeql-analysis.yaml
vendored
|
@ -20,6 +20,9 @@ on:
|
|||
schedule:
|
||||
- cron: '35 4 * * 3'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
|
|
3
.github/workflows/publish.yaml
vendored
3
.github/workflows/publish.yaml
vendored
|
@ -5,6 +5,9 @@ on:
|
|||
branches:
|
||||
- master
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
uses: ./.github/workflows/test.yaml
|
||||
|
|
3
.github/workflows/test.yaml
vendored
3
.github/workflows/test.yaml
vendored
|
@ -5,6 +5,9 @@ on:
|
|||
pull_request:
|
||||
branches: [ "master" ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
name: Python tests
|
||||
|
|
Loading…
Reference in a new issue