1.0.7 • Published 2 years ago

workflow-status-slack-notification v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

workflow-status-slack-notification

test Github action that keeps track and retrieves previous workflow runs status for the same workflow on the same branch. According to current and previous runs status, it will send a notification to a Slack channel using an Incoming webhook app.

Usage

- uses: reside-eng/workflow-status-slack-notification@v1
  with:
    # Status of the current run
    #
    # Default: failure
    # Required: true
    current-status: ''

    # Webhook URL with token for notifications
    #
    # Required: true
    slack-webhook: ''

    # Status of the current run
    #
    # Required: true
    github-token: ''

Local Development

Testing

To run your tests in watch mode, open up one terminal and run:

yarn tsc --watch

And in a second terminal, start up your tests in watch mode:

yarn test --watch

License

The scripts and documentation in this project are released under the MIT License.