Skip to content

Commit

Permalink
Update formatting in notify-upgrade-notes.yml workflow (#20895)
Browse files Browse the repository at this point in the history
  • Loading branch information
bernd authored Nov 6, 2024
1 parent ca8fce0 commit 47a2280
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/notify-upgrade-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name: "Notify UPGRADING.md update"
run-name: "Notify UPGRADING.md update (${{ github.ref_name}}/${{ github.sha }})"

on:
workflow_dispatch:
push:
branches:
- "master"
Expand All @@ -23,5 +24,8 @@ jobs:
SLACK_BOT_TOKEN: "${{ secrets.SLACK_BOT_TOKEN }}"
with:
channel-id: "${{ vars.SLACK_UPGRADE_NOTIFY_CHANNELS }}"
slack-message: >
The Graylog [${{ github.ref_name }}/UPGRADING.md](https://github.com/Graylog2/graylog2-server/blob/${{ github.sha }}/UPGRADING.md) was updated in commit [${{ github.sha }}](https://github.com/Graylog2/graylog2-server/commit/${{ github.sha }}).
slack-message: |
The Graylog ${{ github.ref_name || "test" }}/UPGRADING.md file was updated:
Content: https://github.com/Graylog2/graylog2-server/blob/${{ github.sha || "test" }}/UPGRADING.md
Commit: https://github.com/Graylog2/graylog2-server/commit/${{ github.sha || "test" }}

0 comments on commit 47a2280

Please sign in to comment.