Skip to content

Statuses

Statuses #7

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'
payload: |
{

Check failure on line 19 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": ":gh-failed: [Commit ${{ github.sha }}](${{ github.event.head_commit.url }}) on ${{ github.repository }}@${{ github.ref_name }} failed."
}
}
]
}