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"