Skip to content

Workflow file for this run

run-name: main
on:
push: # TODO: workflow_run
branches:
- main
- 'github-actions'
jobs:
if_error_or_failure:
runs-on: ubuntu-latest
steps:
- name: message result in slack
id: slack
uses: slackapi/slack-github-action@v1.24.0
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
with:
channel-id: 'test-automation'
slack-message: ":gh-failed: \n [Commit ${{ github.sha }}](${{ github.event.head_commit.url }}) on ${{ github.repository }}@${{ github.ref_name }} failed."