From 55245886fb975a47c56d2244dd9db64a1d305752 Mon Sep 17 00:00:00 2001 From: phlax Date: Tue, 14 Nov 2023 21:07:09 +0000 Subject: [PATCH] `gh-actions/github/env/summary`: Improve links/output (#1031) Signed-off-by: Ryan Northey --- gh-actions/github/env/summary/action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gh-actions/github/env/summary/action.yml b/gh-actions/github/env/summary/action.yml index 4fc695261..9d42be758 100644 --- a/gh-actions/github/env/summary/action.yml +++ b/gh-actions/github/env/summary/action.yml @@ -104,7 +104,7 @@ runs: ${{ inputs.icon }} Request (${{ inputs.link && format('[{0}]({1})', steps.title.outputs.title, inputs.link) || steps.title.outputs.title }}) BODY: | - ${{ github.actor }} @${{ github.actor }} [`${{ steps.sha-short.outputs.string }}`](https://github.com/${{ github.repository }}/commit/${{ steps.sha-short.outputs.string }}) ${{ steps.pr.outputs.link }} + ${{ github.actor }} @${{ github.actor }} [`${{ steps.sha-short.outputs.string }}`](https://github.com/${{ github.repository }}/commit/${{ inputs.sha }}) ${{ steps.pr.outputs.link }}
${{ fromJSON(steps.change.outputs.value).title }} @@ -128,14 +128,14 @@ runs: printf '%s\n' "${TABLE}" >> $GITHUB_OUTPUT echo "nEOFn" >> $GITHUB_OUTPUT shell: bash - id: raw-output + id: request-output env: REQUEST: ${{ steps.request.outputs.value }} TABLE: ${{ steps.table.outputs.summary }} - uses: envoyproxy/toolshed/gh-actions/str/indent@actions-v0.1.43 id: output with: - string: ${{ steps.raw-output.outputs.value }} + string: ${{ steps.request-output.outputs.value }} indent: ${{ inputs.indent }} - run: | if [[ "${{ inputs.output-path }}" == "GITHUB_STEP_SUMMARY" ]]; then