File tree Expand file tree Collapse file tree 6 files changed +31
-7
lines changed Expand file tree Collapse file tree 6 files changed +31
-7
lines changed Original file line number Diff line number Diff line change 1010
1111jobs :
1212 build-dotnet :
13- runs-on : ubuntu-latest
13+ permissions :
14+ contents : read
15+ runs-on : ubuntu-24.04
1416 timeout-minutes : 10
1517 steps :
1618 - uses : Cysharp/Actions/.github/actions/checkout@main
2527 max-parallel : 2
2628 matrix :
2729 unity : ["2022.3.39f1", "6000.0.12f1"] # Test with LTS
28- runs-on : ubuntu-latest
30+ permissions :
31+ contents : read
32+ runs-on : ubuntu-24.04
2933 timeout-minutes : 30 # Unity build takes more than 20min.
3034 steps :
3135 - name : Load secrets
Original file line number Diff line number Diff line change 88
99jobs :
1010 run-docfx :
11- runs-on : ubuntu-latest
11+ permissions :
12+ contents : write
13+ pages : write
14+ runs-on : ubuntu-24.04
1215 timeout-minutes : 10
1316 steps :
1417 - uses : Cysharp/Actions/.github/actions/checkout@main
Original file line number Diff line number Diff line change 1414
1515jobs :
1616 update-packagejson :
17+ permissions :
18+ contents : write
1719 uses : Cysharp/Actions/.github/workflows/update-packagejson.yaml@main
1820 with :
1921 file-path : ./src/UniTask/Assets/Plugins/UniTask/package.json
2224
2325 build-dotnet :
2426 needs : [update-packagejson]
25- runs-on : ubuntu-latest
27+ permissions :
28+ contents : read
29+ runs-on : ubuntu-24.04
2630 timeout-minutes : 10
2731 steps :
2832 - run : echo ${{ needs.update-packagejson.outputs.sha }}
4650 strategy :
4751 matrix :
4852 unity : ["2022.3.39f1"]
49- runs-on : ubuntu-latest
53+ permissions :
54+ contents : read
55+ runs-on : ubuntu-24.04
5056 timeout-minutes : 15
5157 steps :
5258 - name : Load secrets
9298 # release
9399 create-release :
94100 needs : [update-packagejson, build-dotnet, build-unity]
101+ permissions :
102+ contents : write
95103 uses : Cysharp/Actions/.github/workflows/create-release.yaml@main
96104 with :
97105 commit-id : ${{ needs.update-packagejson.outputs.sha }}
@@ -105,6 +113,8 @@ jobs:
105113 cleanup :
106114 if : ${{ needs.update-packagejson.outputs.is-branch-created == 'true' }}
107115 needs : [update-packagejson, build-dotnet, build-unity]
116+ permissions :
117+ contents : write
108118 uses : Cysharp/Actions/.github/workflows/clean-packagejson-branch.yaml@main
109119 with :
110120 branch : ${{ needs.update-packagejson.outputs.branch-name }}
Original file line number Diff line number Diff line change 77
88jobs :
99 detect :
10+ permissions :
11+ contents : read
1012 uses : Cysharp/Actions/.github/workflows/prevent-github-change.yaml@main
Original file line number Diff line number Diff line change 77
88jobs :
99 stale :
10+ permissions :
11+ contents : read
12+ pull-requests : write
13+ issues : write
1014 uses : Cysharp/Actions/.github/workflows/stale-issue.yaml@main
Original file line number Diff line number Diff line change 66 - ' README.md'
77
88jobs :
9- generateTOC :
10- name : TOC Generator
9+ toc :
10+ permissions :
11+ contents : write
1112 uses : Cysharp/Actions/.github/workflows/toc-generator.yaml@main
1213 with :
1314 TOC_TITLE : " ## Table of Contents"
You can’t perform that action at this time.
0 commit comments