Skip to content

Create slack.yml

Create slack.yml #1

Workflow file for this run

# This workflow sends a message whenever an issue is opened/closed
#
# You can adjust the behavior by modifying this file.
name: Send GitHub Action trigger data to Slack workflow
on:
issues:
types:
- opened
- closed
jobs:
name: Slack Notification

Check failure on line 12 in .github/workflows/slack.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/slack.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
id: slack
uses: slackapi/[email protected]
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}