Skip to content

Commit

Permalink
ci: migrate to slack action v2
Browse files Browse the repository at this point in the history
  • Loading branch information
barmac committed Nov 18, 2024
1 parent c028e60 commit bf6c13d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/MERGE_MAIN_TO_DEVELOP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ jobs:
- name: Notify failure on Slack
if: failure()
uses: slackapi/slack-github-action@v2.0.0
uses: slackapi/slack-github-action@v2
with:
channel-id: ${{ secrets.SLACK_CHANNEL_ID }}
slack-message: "Automatic merge of <https://github.com/${{ github.repository }}/tree/${{ github.ref }}|${{ github.ref }}> to <https://github.com/${{ github.repository }}/tree/develop|${{ github.repository }}#develop> failed."
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
method: chat.postMessage
token: ${{ secrets.SLACK_BOT_TOKEN }}
payload: |
channel: ${{ secrets.SLACK_CHANNEL_ID }}
text: "Automatic merge of <https://github.com/${{ github.repository }}/tree/${{ github.ref }}|${{ github.ref }}> to <https://github.com/${{ github.repository }}/tree/develop|${{ github.repository }}#develop> failed."

0 comments on commit bf6c13d

Please sign in to comment.