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 1
1
name : Generate documentation dryrun
2
+ permissions :
3
+ contents : read
2
4
on :
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
4
7
workflow_dispatch :
5
8
push :
6
9
branches :
Original file line number Diff line number Diff line change 8
8
9
9
# Make sure deploy-pages has necessary permissions to deploy to GitHub Pages
10
10
permissions :
11
+ contents : read
11
12
pages : write
12
13
id-token : write
13
14
Original file line number Diff line number Diff line change 1
1
name : Publish Package on PyPi
2
+ permissions :
3
+ contents : read
2
4
3
5
on :
4
6
release :
Original file line number Diff line number Diff line change 3
3
4
4
name : Test and Lint
5
5
6
- on :
7
- pull_request :
8
- branches :
9
- - main
10
- push :
11
- branches :
12
- - main
13
-
14
6
# Yoinked from https://github.com/MTES-MCT/apilos/pull/854/files
15
7
# Explicitly set permissions to allow Dependabot workflow runs to write in the PR
16
8
# for coverage's reporting.
17
9
# By default, these are read-only when the actions are ran by Dependabot
18
10
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#changing-github_token-permissions
19
11
permissions :
12
+ contents : read
20
13
pull-requests : write
21
14
15
+ on :
16
+ pull_request :
17
+ branches :
18
+ - main
19
+ push :
20
+ branches :
21
+ - main
22
+
22
23
jobs :
23
24
Test :
24
25
strategy :
You can’t perform that action at this time.
0 commit comments