Files
spring-tools/.github/workflows/test-slack-message.yml
2023-11-01 14:40:02 -04:00

38 lines
1.1 KiB
YAML

name: Test Slack Message
on:
workflow_dispatch:
jobs:
# slack-message:
# name: Send slack message
# runs-on: ubuntu-latest
# steps:
# - id: slack
# uses: slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117
# env:
# SLACK_BOT_TOKEN: ${{ secrets.VMWARE_SLACK_BOT_TOKEN }}
# with:
# channel-id: "C0188MENU2J"
# payload: |
# {
# "text": "Test message title `Version` is available now",
# "blocks": [
# {
# "type": "section",
# "text": {
# "type": "mrkdwn",
# "text": "Test Message text `Version` is available now"
# }
# }
# ]
# }
notify-failure:
# needs: [ slack-message ]
uses: ./.github/workflows/notify-failed-build.yml
with:
link: '[${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})'
label: 'Test Build Failed Message'
secrets: inherit