Skip to content

Commit

Permalink
Fix workflow notifies
Browse files Browse the repository at this point in the history
  • Loading branch information
rofafor committed Apr 5, 2024
1 parent e7fe069 commit 686f15c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ jobs:
if: failure()
env:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
MATTERMOST_TEXT: "${{ github.repository }} master build. Please check [here](${{ github.event.pull_request.html_url }}/checks)."
MATTERMOST_TEXT: "${{ github.repository }} [${{ github.event.ref }}](${{ github.event.repository.html_url }}/tree/${{ github.event.ref }}) build failed."
run: |
send-to-mattermost
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ jobs:
if: failure()
env:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
MATTERMOST_TEXT: "${{ github.repository }} release build. Please check [here](${{ github.event.pull_request.html_url }}/checks)."
MATTERMOST_TEXT: "${{ github.repository }} release [${{ github.event.release.tag_name }}](${{ github.event.release.html_url }}) build failed."
run: |
send-to-mattermost

0 comments on commit 686f15c

Please sign in to comment.