maael/Slack Deploy Message Action
Sends a Slack message with deploy details
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| slack_webhook | The Slack Webhook | yes | — |
| github_token | GitHub token | yes | — |
| check_id | The check id of an initial run of this action | — | — |
| commit | The commit sha to use as the HEAD, defaults to the current sha | — | — |
| service_status_url | The url for the service status to check the commit field of | yes | — |
| service_status_auth | Value to be passed as Authorization header for the service status check, you need to prepend BEARER/BASIC yourself | — | — |
| status_commit_field | The field with the commit sha | — | BUILD_COMMIT |
| repo | The repo in form OWNER/NAME to use, defaults to current | — | — |
| slack_map_repo | The repo that the slack mapping file is in in form OWNER/NAME | yes | — |
| slack_map_file | The path to the slack mapping file in the repo | — | mapping.json |
| channels | A comma separated list of IDs of the Slack Channels to send to | yes | — |
| failure_channels | A comma separated list of IDs of the Slack Channels to send to on a failure | yes | — |
| icon_emoji | The icon for messages from a legacy slack webhook | — | :tada: |
| username | The username for messages from a legacy slack webhook | — | Workflow Deploy Message |
| environment | The environment being deployed to | — | — |
| dry_run | If set, wil skip sending message to slack | — | — |
| message_template | The template to use for the base message, commits will be added as context blocks | — | :octocat: $ACTOR_LINK $STATUS_ICON $STATUS_TEXT $ENV_ICON $ENV_LINK $COMMIT_LINK in $REPO_LINK |
| status | The resulting status of the job, defaults to deploying if not provided | — | — |
Outputs
no outputs