Skip to content

Commit 716018e

Browse files
committed
Polish send-notification action
[skip ci]
1 parent c68757a commit 716018e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/actions/send-notification/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ runs:
1515
# Gather vars only available from github context
1616
commitUrl="${{ github.event.head_commit.url }}"
1717
author="${{ github.event.sender.login }}"
18-
authorUrl=${{ github.event.sender.html_url }}
18+
authorUrl="${{ github.event.sender.html_url }}"
1919
# Pull additional details from GitHub API
2020
json=$(gh run view ${{ github.run_id }} -R ${{ github.repository }} --json name,number,displayTitle,url,headSha,jobs)
2121
# Determine overall run status (based on all jobs preceding this one)
@@ -31,7 +31,7 @@ runs:
3131
# Get workflow name from GitHub API (also available as "github.workflow")
3232
workflowName=$(echo $json | jq -r .name)
3333
# Parse 7-digit commit id from head sha
34-
shaId=$(echo $json | jq -r .headSha | awk '{print substr($0, 0, 7)}')
34+
shaId=$(echo $json | jq -r .headSha | awk '{ print substr($0, 0, 7) }')
3535
# Get workflow run URL from GitHub API
3636
runUrl=$(echo $json | jq -r .url)
3737
# Get workflow run number from GitHub API (also available as "github.run_number")

0 commit comments

Comments
 (0)