From 36ff06785053858c9555b53eefe078614aabbbfd Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Tue, 5 Dec 2023 17:06:00 -0800 Subject: [PATCH] chore(ci): fix hard coded value in merge workflow --- .github/workflows/merge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 0869c5054..3f9ed82c2 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -37,7 +37,7 @@ jobs: PR_NO=$(\ curl -L -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ github.token }}" \ -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/bcgov/quickstart-openshift/commits/${HEAD}/pulls \ + https://api.github.com/repos/${{ github.repository }}/commits/${HEAD}/pulls \ | jq .[0].number ) fi