From 2629bd27145050eecb9dd78940a82fa663945062 Mon Sep 17 00:00:00 2001 From: Cycle Bai <168964798+CycleBai@users.noreply.github.com> Date: Mon, 29 Jul 2024 20:55:36 +1000 Subject: [PATCH] ci: Fix errors --- .github/workflows/auto_pr.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/auto_pr.yml b/.github/workflows/auto_pr.yml index 36df1f7..935a295 100644 --- a/.github/workflows/auto_pr.yml +++ b/.github/workflows/auto_pr.yml @@ -87,6 +87,8 @@ jobs: fi - name: Append commit to existing PR + env: + GH_TOKEN: ${{ github.token }} if: env.branch_exists == 'true' run: | pr_number=$(gh pr list --state open --head ${{ env.branch_name }} --json number -q '.[0].number')