nick-fields/Slacktion
Yet another Slack Action, this one supports interactive elements such as buttons and links.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| slack_bot_token | Slack bot token with at least `chat:write` scope. | yes | — |
| channel | Slack channel to post to. Bot user will auto join the channel if public. If private channel, bot user must be invited. | yes | — |
| job_status | Status of the current job. Use the [job.status](https://help.github.com/en/actions/reference/contexts-and-expression-syntax-for-github-actions#job-context) context. | yes | — |
| text | Text of the message. Appears above the pretext for whatever reason. | no | — |
| pretext | Pretext appears below the text field and above the attachment. | no | — |
| title | Title of the attachment section. Displays in bold. | no | — |
| title_url | Url to embed in attachment section title | no | — |
| image_url | Image to include below footer and above actions | no | — |
| footer | Text to include below fields and above actions | no | GitHub Actions |
| footer_icon_url | Icon to include with footer | no | https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png |
| fields | Fields to be displayed in a table inside the attachment (separate text from content with pipe, add link to content with <url~~text> format; ex: Field 1|<google.com~~text>) | no | — |
| buttons | Buttons attached to the message (separate text from link with pipe; ex: Button1|google.com) | no | — |
Outputs
no outputs