File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - cron : ' 0 6 * * 1'
77 workflow_dispatch :
88
9+ permissions : {}
10+
911defaults :
1012 run :
1113 shell : bash
1517 if : github.repository == 'voidzero-dev/vite-plus' && github.event.repository.fork == false
1618 runs-on : ubuntu-latest
1719 permissions :
18- contents : write
19- pull-requests : write
20+ contents : read
2021 steps :
2122 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2223 with :
@@ -31,13 +32,20 @@ jobs:
3132 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3233 run : node docs/.vitepress/theme/data/fetch-trusted-stack-stats.ts
3334
35+ - uses : actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
36+ id : app-token
37+ with :
38+ client-id : ${{ secrets.APP_ID }}
39+ private-key : ${{ secrets.APP_PRIVATE_KEY }}
40+
3441 - name : Create or update PR
35- uses : peter-evans/create-pull-request@22a9089034f40e5a961c8808d113e2c98fb63676 # v7.0.11
42+ uses : peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
3643 with :
3744 base : main
3845 branch : chore/docs-trusted-stack-stats
3946 title : ' chore(docs): refresh trusted stack stats'
40- token : ${{ secrets.GITHUB_TOKEN }}
47+ sign-commits : true
48+ token : ${{ steps.app-token.outputs.token }}
4149 commit-message : ' chore(docs): refresh trusted stack stats'
4250 add-paths : |
4351 docs/.vitepress/theme/data/trusted-stack-stats.json
You can’t perform that action at this time.
0 commit comments