Skip to content

shiftgig/action-notify-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action Send Job Status Notification

Purpose: send notifications on job status, initially via Slack.

Inputs

job-status

Required Job status.

slack-token

Required Slack token used to send message.

channel-id

Required Slack channel id.

Outputs

There are no outputs.

Example usage

  build-dev:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Send notification
        if: always()
        uses: shiftgig/action-notify-status@v1
        with:
          job-status: ${{ job.status }}
          slack-token: ${{ secrets.SLACK_TOKEN }}
          channel-id: CXXX000

Slack Setup

You will need a Slack app, follow these steps.

About

Notify job statuses run via GitHub Actions

Resources

License

Stars

Watchers

Forks

Packages

No packages published