From 9e6eb75b6de1cea85c1fd999f7a3b2853cfbf433 Mon Sep 17 00:00:00 2001 From: Raymond Yeh Date: Fri, 29 Mar 2024 15:16:21 +0800 Subject: [PATCH] ci: missing env --- .github/workflows/update.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 5c234a7..d5615c5 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -48,5 +48,7 @@ jobs: branch: ${{ env.new_version }} - name: create pr if: steps.auto-commit-action.outputs.changes_detected == 'true' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | gh pr create -B "${{ env.new_version }}" -H master --title "update zotero to ${{ env.new_version }}" --body "Created by Github action"