Skip to content

c0x12c/gh-actions-slack-notify

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

gh-actions-slack-notify

The project structure is based on the actions/typescript-action project

Uses @slack/webhook to send a notification to a Slack channel when running CI/CD for our company projects. The notification template is predefined for now and will be enhanced to support dynamic templates in the future.

Usage

jobs:
  some_job:
    runs-on: ubuntu-latest
    steps:
      - name: Send Notification to Slack
        uses: c0x12c/gh-actions-slack-notify@v0.1.2
        with:
          webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
          title: ':rocket: *${{ github.event.repository.name }} - Finish processing in DEV*'