File tree Expand file tree Collapse file tree 4 files changed +16
-9
lines changed Expand file tree Collapse file tree 4 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 11name : Generate documentation dryrun
2+ permissions :
3+ contents : read
24on :
3- # Documentation can be either manually updated or is automatically updated when pushed to main branch
5+ # Documentation can be either manually updated or is automatically updated
6+ # when pushed to main branch
47 workflow_dispatch :
58 push :
69 branches :
Original file line number Diff line number Diff line change 88
99# Make sure deploy-pages has necessary permissions to deploy to GitHub Pages
1010permissions :
11+ contents : read
1112 pages : write
1213 id-token : write
1314
Original file line number Diff line number Diff line change 11name : Publish Package on PyPi
2+ permissions :
3+ contents : read
24
35on :
46 release :
Original file line number Diff line number Diff line change 33
44name : Test and Lint
55
6- on :
7- pull_request :
8- branches :
9- - main
10- push :
11- branches :
12- - main
13-
146# Yoinked from https://github.com/MTES-MCT/apilos/pull/854/files
157# Explicitly set permissions to allow Dependabot workflow runs to write in the PR
168# for coverage's reporting.
179# By default, these are read-only when the actions are ran by Dependabot
1810# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#changing-github_token-permissions
1911permissions :
12+ contents : read
2013 pull-requests : write
2114
15+ on :
16+ pull_request :
17+ branches :
18+ - main
19+ push :
20+ branches :
21+ - main
22+
2223jobs :
2324 Test :
2425 strategy :
You can’t perform that action at this time.
0 commit comments