Skip to content

Commit

Permalink
fix slack payload syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ykim-akamai committed Aug 28, 2024
1 parent 1c9d8b1 commit 3ac8ce6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nightly-smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

- name: Set outputs
id: payload_vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
run: echo "SHORT_SHA=`echo ${{ github.sha }} | cut -c1-8`" >> $GITHUB_ENV

- name: Notify Slack
if: always()
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
"fields": [
{
"type": "mrkdwn",
"text": "*Commit Hash:*\n:link: <${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}|${{ steps.payload_vars.outputs.sha_short }}>"
"text": "*Commit Hash:*\n:link: <${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}|${{ env.SHORT_SHA }}>"
},
{
"type": "mrkdwn",
Expand Down

0 comments on commit 3ac8ce6

Please sign in to comment.