From 95d9c39581ad595d54de590a3791c5f549f9dd3c Mon Sep 17 00:00:00 2001 From: Masaya Suzuki <15100604+massongit@users.noreply.github.com> Date: Fri, 10 Jan 2025 07:48:34 +0900 Subject: [PATCH 1/3] =?UTF-8?q?CI=20pr-format:=20GitHub=20App=E3=81=AE?= =?UTF-8?q?=E3=83=88=E3=83=BC=E3=82=AF=E3=83=B3=E3=82=92=E4=BD=BF=E3=81=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pr-format.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-format.yml b/.github/workflows/pr-format.yml index 1780e642aa..3a4c99b8cb 100644 --- a/.github/workflows/pr-format.yml +++ b/.github/workflows/pr-format.yml @@ -19,6 +19,12 @@ jobs: pr-format: runs-on: ubuntu-latest steps: + - name: Generate a token + id: generate_token + uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1.11.1 + with: + app-id: ${{ secrets.PROJECT_AUTOMATION_APP_ID }} + private-key: ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }} - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 if: github.event_name != 'pull_request' || github.event.action != 'closed' with: @@ -26,6 +32,7 @@ jobs: # submodule: 'recursive' fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} + token: ${{steps.generate_token.outputs.token}} - name: Get uv version id: get_uv_version if: github.event_name != 'pull_request' || github.event.action != 'closed' @@ -48,7 +55,7 @@ jobs: - uses: dev-hato/actions-diff-pr-management@cc201e3df74a342983025c4e97b7216b4e77f9f1 # v2.0.0 if: success() || failure() with: - github-token: ${{secrets.GITHUB_TOKEN}} + github-token: ${{steps.generate_token.outputs.token}} branch-name-prefix: fix-format pr-title-prefix: formatが間違ってたので直してあげたよ! concurrency: From ff8032a7b7c47dfead84d866160e1a8aa1ce8424 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 9 Jan 2025 22:51:28 +0000 Subject: [PATCH 2/3] =?UTF-8?q?format=E3=81=8C=E9=96=93=E9=81=95=E3=81=A3?= =?UTF-8?q?=E3=81=A6=E3=81=9F=E3=81=AE=E3=81=A7=E7=9B=B4=E3=81=97=E3=81=A6?= =?UTF-8?q?=E3=81=82=E3=81=92=E3=81=9F=E3=82=88=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uv.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uv.lock b/uv.lock index 67bc324da4..9566babf9b 100644 --- a/uv.lock +++ b/uv.lock @@ -1399,7 +1399,7 @@ wheels = [ [[package]] name = "sudden-death" version = "0.0.1" -source = { git = "https://github.com/dev-hato/sudden-death?branch=master#0bf2368f63e36a359e0101657c3f94cb75f558d3" } +source = { git = "https://github.com/dev-hato/sudden-death?branch=master#7632bda5d7f6c43b73e257f0e68b790dc5f84376" } dependencies = [ { name = "click" }, { name = "pyperclip" }, From 17222d49702f9836497beba6ebd7363145ec7f90 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 11 Jan 2025 03:45:48 +0000 Subject: [PATCH 3/3] =?UTF-8?q?format=E3=81=8C=E9=96=93=E9=81=95=E3=81=A3?= =?UTF-8?q?=E3=81=A6=E3=81=9F=E3=81=AE=E3=81=A7=E7=9B=B4=E3=81=97=E3=81=A6?= =?UTF-8?q?=E3=81=82=E3=81=92=E3=81=9F=E3=82=88=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uv.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uv.lock b/uv.lock index 9566babf9b..81bfd0fbee 100644 --- a/uv.lock +++ b/uv.lock @@ -1399,7 +1399,7 @@ wheels = [ [[package]] name = "sudden-death" version = "0.0.1" -source = { git = "https://github.com/dev-hato/sudden-death?branch=master#7632bda5d7f6c43b73e257f0e68b790dc5f84376" } +source = { git = "https://github.com/dev-hato/sudden-death?branch=master#84cc73b2a9fee14789fec876197f04b97c65afe9" } dependencies = [ { name = "click" }, { name = "pyperclip" },