File tree Expand file tree Collapse file tree 1 file changed +11
-15
lines changed Expand file tree Collapse file tree 1 file changed +11
-15
lines changed Original file line number Diff line number Diff line change 11name : Update Code.json
22on :
3+ schedule :
4+ - cron : 0 0 1 * * # First day of every month
35 workflow_dispatch :
6+ pull_request :
7+ types : [opened, synchronize]
8+ paths :
9+ - " code.json"
410
511permissions :
612 contents : write
713 pull-requests : write
14+ issues : write
815
916jobs :
1017 update-code-json :
@@ -13,22 +20,11 @@ jobs:
1320 - name : Checkout Repository
1421 uses : actions/checkout@v4
1522 with :
16- fetch-depth : 0
17-
18- - name : Setup Node.js
19- uses : actions/setup-node@v4
20- with :
21- node-version : ' 20'
23+ fetch-depth : 0
2224
23- - name : Setup Go
24- uses : actions/setup-go@v5
25- with :
26- go-version : ' 1.22'
27-
28- - name : Install SCC
29- run : go install github.com/boyter/scc/v3@latest
30-
3125 - name : Update code.json
3226 uses : DSACMS/automated-codejson-generator@main
3327 with :
34- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29+ BRANCH : " main"
30+ SKIP_PR : " false"
You can’t perform that action at this time.
0 commit comments