From 0d09ffcda9c0a46d3a7378de6dd39378309613fa Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Fri, 3 Jan 2025 14:52:15 -0500 Subject: [PATCH] Fix update frontend (#5) * Give pull-requests write permission * Update token --- .github/workflows/update-frontend.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-frontend.yml b/.github/workflows/update-frontend.yml index a45825ba..cdb2e37d 100644 --- a/.github/workflows/update-frontend.yml +++ b/.github/workflows/update-frontend.yml @@ -13,6 +13,7 @@ jobs: runs-on: ubuntu-latest permissions: contents: write + pull-requests: write steps: - name: Checkout ComfyUI @@ -45,7 +46,7 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@v7 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.PR_BOT_PAT }} commit-message: "Update frontend to v${{ github.event.inputs.version }}" title: "Frontend Update: v${{ github.event.inputs.version }}" body: |