From 246b3ca14970b3d2b6f5fd2dc42a9e47d9f13cee Mon Sep 17 00:00:00 2001 From: Yousif Akbar <11247449+yhakbar@users.noreply.github.com> Date: Mon, 13 May 2024 18:47:57 -0400 Subject: [PATCH] Switch to merged PR URL --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 1f927d0..79b0ee5 100644 --- a/action.yml +++ b/action.yml @@ -155,7 +155,7 @@ runs: if: ${{ steps.gruntwork_context.outputs.terragrunt_command == 'apply' }} env: ACTION_PATH: ${{ github.action_path }} - MERGED_PR_NUMBER: ${{ steps.get_pr_number.outputs.pr_number }} + MERGED_PR_URL: https://github.com/${{ github.repository }}/pull/${{ steps.get_pr_number.outputs.pr_number }} CREATED_PR_URL: ${{ steps.create_pr.outputs.pull-request-url }} GH_TOKEN: ${{ inputs.INFRA_ROOT_WRITE_TOKEN }} run: | @@ -166,7 +166,7 @@ runs: cat step-summary.md >> "$GITHUB_STEP_SUMMARY" - gh pr comment "$MERGED_PR_NUMBER" \ + gh pr comment "$MERGED_PR_URL" \ -F step-summary.md rm -f step-summary.md