Optimized for: Gemini / ChatGPT / Claude
Advanced AI Prompt for GitHub Actions Slack Integration
Use this engineered prompt to drastically optimize your workflow and output.
Required Variables
- ✦
[CHANNEL_ID] - ✦
[WEBHOOK_URL] - ✦
[APP_NAME]
github-actions-slack-integration.txt
Develop a reusable GitHub Actions workflow logic for advanced Slack notifications. Requirements: 1) Send a message to [CHANNEL_ID] when a workflow starts, succeeds, or fails. 2) Include the [APP_NAME], the committer's name, the commit message, and a direct link to the Action run. 3) Use rich formatting (blocks/attachments) to color-code the status (green for success, red for failure). 4) Ensure the [WEBHOOK_URL] is pulled from GitHub Secrets.
Example Output
"A notification YAML snippet using 'slackapi/slack-github-action' to provide real-time pipeline visibility to the team."