From 91d0c521dc1aa18a908314b9ec95fa1f885677f4 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Sat, 10 Aug 2024 19:16:37 +0100 Subject: [PATCH] Update the PR link URL. --- .github/workflows/test-plugins.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-plugins.yml b/.github/workflows/test-plugins.yml index 027ff5f..c1f3d83 100644 --- a/.github/workflows/test-plugins.yml +++ b/.github/workflows/test-plugins.yml @@ -53,6 +53,7 @@ jobs: head_branch: pr.data.head.ref, head_sha: pr.data.head.sha, pr_number: pr.data.number, + pr_link: pr.data.html_url, }; github-token: ${{ secrets.PLUGINS_PUSH_TOKEN }} env: @@ -88,7 +89,7 @@ jobs: body: | #markdown This PR updates [Plugin Infrastructure](https://github.com/johnbillion/plugin-infrastructure) to `${{ env.HEAD_REPO }}@${{ env.BRANCH_REF }}`. - See ${{ github.event.pull_request._links.html.href }} for more details. + See ${{ env.PR_LINK }} for more details. This is an automated PR created by [the Test Plugins workflow](https://github.com/johnbillion/plugin-infrastructure/actions/workflows/test-plugins.yml). branch: update-plugin-infrastructure/${{ env.HEAD_REPO }}/${{ env.BRANCH_REF }} @@ -97,6 +98,7 @@ jobs: HEAD_REPO: ${{ fromJson( steps.pr-data.outputs.result ).head_repo }} SHA_REF: ${{ fromJson( steps.pr-data.outputs.result ).head_sha }} BRANCH_REF: ${{ fromJson( steps.pr-data.outputs.result ).head_branch }} + PR_LINK: ${{ fromJson( steps.pr-data.outputs.result ).pr_link }} - name: Set labels run: | #shell