oscar-system/Should I notify slack?
Decide if a notification to slack is necessary taking into account the previous build result.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| event | Which event should the action target. possible values: schedule, push, (more?) | no | push |
| needs_context | json representation of the `needs` object in your context (`toJson(needs)`) | yes | — |
| branch | The branch to get the status from | yes | main |
| github_token | A github token (secrets.GITHUB_TOKEN will suffice) | yes | — |
| notify_on_changed_status | Set to a non-empty string to return yes if and only if the status changed | no | "" |
Outputs
| name | description |
|---|---|
| should_send_message | `yes|no` depending on if the message should be sent |
| last_status | status of the previously completed workflow (or null) |
| current_status | status of the current workflow |