File tree Expand file tree Collapse file tree 6 files changed +23
-0
lines changed
Expand file tree Collapse file tree 6 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Build document
22
33on : [push, pull_request]
44
5+ permissions :
6+ contents : read
7+
58jobs :
69 build :
710 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Coverage
22
33on : [push]
44
5+ permissions :
6+ contents : read
7+
58jobs :
69 coverage :
710 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 55 tags :
66 - " v*.*.*"
77
8+ permissions :
9+ contents : read
10+
811jobs :
912 create-release :
13+ permissions :
14+ contents : write # for softprops/action-gh-release to create GitHub release
1015 runs-on : ubuntu-latest
1116 steps :
1217 - name : Checkout
Original file line number Diff line number Diff line change 55 - cron : " 0 0 * * SUN"
66 workflow_dispatch :
77
8+ permissions :
9+ contents : read
10+
811jobs :
912 test :
1013 if : github.repository_owner == 'sphinx-doc'
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Lint source code
22
33on : [push, pull_request]
44
5+ permissions :
6+ contents : read
7+
58jobs :
69 build :
710 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 55 - cron : " 0 0 * * SUN"
66 workflow_dispatch :
77
8+ permissions :
9+ contents : read
10+
811jobs :
912 push :
1013 if : github.repository_owner == 'sphinx-doc'
3033 TX_TOKEN : ${{ secrets.TX_TOKEN }}
3134
3235 pull :
36+ permissions :
37+ contents : write # for peter-evans/create-pull-request to create branch
38+ pull-requests : write # for peter-evans/create-pull-request to create a PR
3339 if : github.repository_owner == 'sphinx-doc'
3440 runs-on : ubuntu-latest
3541
You can’t perform that action at this time.
0 commit comments