File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,13 +19,20 @@ jobs:
1919 pr-format :
2020 runs-on : ubuntu-latest
2121 steps :
22+ - name : Generate a token
23+ id : generate_token
24+ uses : actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1.11.1
25+ with :
26+ app-id : ${{ secrets.PROJECT_AUTOMATION_APP_ID }}
27+ private-key : ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }}
2228 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2329 if : github.event_name != 'pull_request' || github.event.action != 'closed'
2430 with :
2531 # ここでsubmodule持ってくるとdetached headにcommitして死ぬ
2632 # submodule: 'recursive'
2733 fetch-depth : 0
2834 ref : ${{ github.event.pull_request.head.sha }}
35+ token : ${{steps.generate_token.outputs.token}}
2936 - name : Get uv version
3037 id : get_uv_version
3138 if : github.event_name != 'pull_request' || github.event.action != 'closed'
4855 - uses : dev-hato/actions-diff-pr-management@cc201e3df74a342983025c4e97b7216b4e77f9f1 # v2.0.0
4956 if : success() || failure()
5057 with :
51- github-token : ${{secrets.GITHUB_TOKEN }}
58+ github-token : ${{steps.generate_token.outputs.token }}
5259 branch-name-prefix : fix-format
5360 pr-title-prefix : formatが間違ってたので直してあげたよ!
5461concurrency :
You can’t perform that action at this time.
0 commit comments