Skip to content

Commit

Permalink
chore(deps): put installation slack link in code block (#291)
Browse files Browse the repository at this point in the history
### TL;DR

Updated the Slack notification message in the GitHub workflow to format the `helm upgrade` command as a code block and to include the package path in the footer.

### What changed?

- Changed `SLACK_MESSAGE` to format the `helm upgrade` command as a code block.
- Updated `SLACK_FOOTER` to include the package path.

### How to test?

Trigger a workflow run and verify the Slack notification format and content.

### Why make this change?

Improving readability and context of Slack notifications.

---
  • Loading branch information
sergeyberezansky authored Jul 29, 2024
2 parents 5c8c8b9 + e62492c commit 287e60a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,5 +166,5 @@ jobs:
SLACK_USERNAME: csiBot
SLACK_ICON_EMOJI: ":robot_face:"
SLACK_TITLE: "New build was pushed"
SLACK_MESSAGE: "helm upgrade csi-wekafs -n csi-wekafs --create-namespace -i ${{ steps.helm-s3-upload.outputs.link }} --set logLevel=6"
SLACK_FOOTER: ""
SLACK_MESSAGE: "```helm upgrade csi-wekafs -n csi-wekafs --create-namespace -i ${{ steps.helm-s3-upload.outputs.link }} --set logLevel=6```"
SLACK_FOOTER: "Package path: ${{ steps.helm-s3-upload.outputs.link }}"

0 comments on commit 287e60a

Please sign in to comment.