File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111
1212jobs :
1313 build-dotnet :
14- runs-on : ubuntu-latest
14+ permissions :
15+ contents : read
16+ runs-on : ubuntu-24.04
1517 timeout-minutes : 10
1618 steps :
1719 - uses : Cysharp/Actions/.github/actions/checkout@main
2527 fail-fast : false
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 : 15
3034 steps :
3135 - name : Load secrets
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 : |
2426
2527 build-dotnet :
2628 needs : [update-packagejson]
27- runs-on : ubuntu-latest
29+ permissions :
30+ contents : read
31+ runs-on : ubuntu-24.04
2832 timeout-minutes : 10
2933 steps :
3034 - run : echo ${{ needs.update-packagejson.outputs.sha }}
4751 strategy :
4852 matrix :
4953 unity : ["2022.3.39f1"]
50- runs-on : ubuntu-latest
54+ permissions :
55+ contents : read
56+ runs-on : ubuntu-24.04
5157 timeout-minutes : 15
5258 steps :
5359 - name : Load secrets
95101 # release
96102 create-release :
97103 needs : [update-packagejson, build-dotnet, build-unity]
104+ permissions :
105+ contents : write
98106 uses : Cysharp/Actions/.github/workflows/create-release.yaml@main
99107 with :
100108 dry-run : ${{ inputs.dry-run }}
@@ -107,6 +115,8 @@ jobs:
107115 cleanup :
108116 if : ${{ needs.update-packagejson.outputs.is-branch-created == 'true' }}
109117 needs : [update-packagejson, create-release]
118+ permissions :
119+ contents : write
110120 uses : Cysharp/Actions/.github/workflows/clean-packagejson-branch.yaml@main
111121 with :
112122 branch : ${{ needs.update-packagejson.outputs.branch-name }}
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
You can’t perform that action at this time.
0 commit comments