Skip to content

Slack Notification

Slack Notification #74

name: Slack Notification
on:
workflow_run:
workflows:
- version, tag and github release
- publish
types:
- completed
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Announce result
uses: slackapi/[email protected]
with:
payload: |
{
"text": "GitHub Actions Notification",
"event": "${{ github.event.workflow_run.name }}, run: ${{ github.event.workflow_run.html_url }}",
"repo": "${{ github.event.workflow_run.repository.name }}",
"result": "${{ github.event.workflow_run.conclusion }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.IDEE_MAIN_SLACK_WEBHOOK }}