From b197005da12c6d3d25f84ecbaa038c1331353144 Mon Sep 17 00:00:00 2001 From: Ivan Dlugos Date: Tue, 5 Mar 2024 10:13:43 +0100 Subject: [PATCH] add missing token --- .github/workflows/updater.yml | 2 ++ 1 file changed, 2 insertions(+) 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