From 257b699552be7c84a3e6609842f203c621c45136 Mon Sep 17 00:00:00 2001 From: Kevin Cui Date: Tue, 25 Aug 2026 03:16:34 -0400 Subject: [PATCH] ci: switch create-github-app-token to client-id MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit actions/create-github-app-token 自 v3.1.0 起弃用 `app-id` 输入并改用 `client-id`,每次运行都会打印弃用告警。改为传组织级变量 `OOMOL_DOWNLOADER_APP_CLIENT_ID`,并把 `@v2` 升到 `@v3`,因为 `client-id` 输入只在 v3.1.0 之后存在。v3 的破坏性变更只有 node24 运行时和需显式开启代理,这里都不受影响。 Signed-off-by: Kevin Cui --- .github/workflows/layer.yml | 4 ++-- .github/workflows/oocana-node.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/layer.yml b/.github/workflows/layer.yml index 148b04f..d445501 100644 --- a/.github/workflows/layer.yml +++ b/.github/workflows/layer.yml @@ -48,9 +48,9 @@ jobs: fi - name: Generate GitHub App Token for oomol/${{ env.OVMLAYER_REPOSITORY }} id: app-token - uses: actions/create-github-app-token@v2 + uses: actions/create-github-app-token@v3 with: - app-id: ${{ vars.OOMOL_DOWNLOADER_APP_ID }} + client-id: ${{ vars.OOMOL_DOWNLOADER_APP_CLIENT_ID }} private-key: ${{ secrets.OOMOL_DOWNLOADER_APP_PRIVATE_KEY }} owner: oomol repositories: ${{ env.OVMLAYER_REPOSITORY }} diff --git a/.github/workflows/oocana-node.yml b/.github/workflows/oocana-node.yml index 0b50421..337ad0c 100644 --- a/.github/workflows/oocana-node.yml +++ b/.github/workflows/oocana-node.yml @@ -26,9 +26,9 @@ jobs: - uses: actions/checkout@v4 - name: Generate GitHub App Token for oomol/${{ env.OVMLAYER_REPOSITORY }} id: app-token - uses: actions/create-github-app-token@v2 + uses: actions/create-github-app-token@v3 with: - app-id: ${{ vars.OOMOL_DOWNLOADER_APP_ID }} + client-id: ${{ vars.OOMOL_DOWNLOADER_APP_CLIENT_ID }} private-key: ${{ secrets.OOMOL_DOWNLOADER_APP_PRIVATE_KEY }} owner: oomol repositories: ${{ env.OVMLAYER_REPOSITORY }}