Skip to content

Commit

Permalink
fixup! Add url to slack messages
Browse files Browse the repository at this point in the history
  • Loading branch information
sgliner-ledger committed Nov 7, 2023
1 parent f91b8b6 commit 0e537f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/refresh_inputs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
echo "Files are the same!"
fi
- name: Echo GHA url
if: ${{ failure() && (github.event_name == 'schedule' || inputs.send_to_slack == true) }}
run: echo "url"=${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} >> $GITHUB_ENV

- name: Send custom JSON data to Slack workflow
Expand All @@ -62,7 +63,7 @@ jobs:
{
"title": "Check input list",
"status": ":red-cross: Fail",
"status_detail": ":alert: Please update input file ! "
"status_detail": ":alert: Please update input file ! ",
"url": "${{ env.url }}"
}
env:
Expand Down

0 comments on commit 0e537f4

Please sign in to comment.