diff --git a/.github/workflows/updater.yml b/.github/workflows/updater.yml index b98107b..91ed353 100644 --- a/.github/workflows/updater.yml +++ b/.github/workflows/updater.yml @@ -148,6 +148,8 @@ jobs: - name: Parse the existing PR URL if: ${{ ( steps.target.outputs.latestTag != steps.target.outputs.originalTag ) && ( steps.root.outputs.changed == 'false') }} id: existing-pr + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | $data = gh api 'repos/${{ github.repository }}/pulls?base=${{ steps.root.outputs.baseBranch }}&head=${{ steps.root.outputs.prBranch }}' Write-Host $data