Skip to content

ci: Fix SlackAPI call #2

ci: Fix SlackAPI call

ci: Fix SlackAPI call #2

Workflow file for this run

name: test-slack
on:
pull_request:
branches:
- "*"
jobs:
test-slack:

Check failure on line 9 in .github/workflows/test-slack.yml

View workflow run for this annotation

GitHub Actions / test-slack

Invalid workflow file

The workflow is not valid. .github/workflows/test-slack.yml (Line: 9, Col: 3): The workflow must contain at least one job with no dependencies.
name: Communicate on slack about the new release
runs-on: ubuntu-latest
needs: publish
steps:
- name: Post to slack
uses: slackapi/[email protected]
with:
method: chat.postMessage
token: ${{ secrets.SLACK_BOT_TOKEN }}
payload: |
channel: "test-bot"
blocks:
- type: "section"
text:
type: "mrkdwn"
text: "my release URL"
- type: "section"
text:
type: "mrkdwn"
text: "my body"