mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-02 12:11:58 +00:00
fix: use GitHub App token for lint/i18n workflows to trigger e2e tests
Amp-Thread-ID: https://ampcode.com/threads/T-019c0c25-c0e9-71c2-ac29-b80252d9fb6f Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
8
.github/workflows/ci-lint-format.yaml
vendored
8
.github/workflows/ci-lint-format.yaml
vendored
@@ -17,10 +17,18 @@ jobs:
|
||||
lint-and-format:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Generate GitHub App Token
|
||||
id: app-token
|
||||
uses: actions/create-github-app-token@v2
|
||||
with:
|
||||
app-id: ${{ vars.COMFY_APP_ID }}
|
||||
private-key: ${{ secrets.COMFY_APP_PRIVATE_KEY }}
|
||||
|
||||
- name: Checkout PR
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
ref: ${{ !github.event.pull_request.head.repo.fork && github.head_ref || github.ref }}
|
||||
token: ${{ steps.app-token.outputs.token }}
|
||||
|
||||
- name: Setup frontend
|
||||
uses: ./.github/actions/setup-frontend
|
||||
|
||||
Reference in New Issue
Block a user