slackapi/The Slack GitHub Action
Post a message, call a Web API method, start a Slack workflow, or run a Slack CLI command from GitHub Actions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| api | A custom API URL to send Slack API method requests to. | no | — |
| errors | If the step exits with an error on errors or continues. | no | false |
| method | The Slack API method to call. | no | — |
| payload | Attributes that create the content of the request using JSON or YAML. | no | — |
| payload-delimiter | Field separator for nested attributes in the input payload. | no | — |
| payload-file-path | Path to a file containing a valid input payload made of JSON or YAML. | no | — |
| payload-templated | If templated variables in input payloads should be replaced. | no | false |
| proxy | An optional proxied route for HTTPS connections. | no | — |
| retries | The strategy to use when performing retried requests. | — | 5 |
| token | The authentication value used with the Slack API. | no | — |
| webhook | A location for posting request payloads. | no | — |
| webhook-type | Option to use either an incoming webhook or webhook trigger. | no | — |
Outputs
| name | description |
|---|---|
| ok | If the request completed without returning errors. |
| response | A JSON stringified version of the Slack API response. |
| time | The Unix epoch time that the step completed. |
| channel_id | The channel ID returned with some of the Slack API methods. |
| thread_ts | The timestamp of a parent Slack message with threaded replies. |
| ts | The timestamp of a Slack message or event in the response. |