From 930d4771a2ffacb5842b90d52c92439483a58438 Mon Sep 17 00:00:00 2001 From: Tommy Gatti Date: Wed, 4 Dec 2024 09:48:32 +1100 Subject: [PATCH] ci.yml: add repo and pr number --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 230aef4..4baf466 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -103,7 +103,7 @@ jobs: /repos/${{ github.repository }}/deployments \ --jq '[.[] | select(.ref == "${{ steps.pr.outputs.head }}")] | length' ) - comment_deployments=$(gh pr view \ + comment_deployments=$(gh pr view ${{ inputs.pr }} --repo ${{ github.repository }} \ --json comments \ --jq '[.comments[] | select(.body | startswith("!redeploy"))] | length' )