equisoft-actions/Send a notification to Slack with the status of a workflow

Push the result of a workflow to a Slack channel. ```yaml jobs: notify: runs-on: ubuntu-latest needs: [job-a, job-b] steps: - name: Post status to Slack uses: equisoft-actions/notify-workflow-status@v2 with: needs: $ {{ toJSON(needs) }} slack-bot-token: $ {{ secrets.SLACK_BOT_TOKEN }} slack-channel: awt-ci-alerts ```

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
needsThe GitHub Actions `needs` context which should be passed in using toJSON(): `$ {{ toJSON(needs) }}`. The notify jobs must depend on the jobs that you want to monitor. no
downgrade-to-warningComma-separated list of jobs that should be downgraded to a warning status instead of a failure. no
notify-statusesComma-separated list of statuses for which notifications will be published. Allowed values are cancelled, failure, success or warning. Defaults to 'failure,warning'. nofailure,warning
slack-enabledIf set to `true`, the status of the workflow will be posted to Slack. Defaults to `true`. notrue
slack-bot-tokenThe bot token used to authenticate with Slack.no
slack-channelThe Slack channel where the notification will be sent. Defaults to 'ops-ci'. noops-ci
workflow-statusThe workflow status. Must be one of cancelled, failure, success or warning. If specified, it has precedence over `needs`. no
namedescription
statusThe status of the workflow. Can be one of cancelled, failure, success or warning.