SLACK_INTEGRATION
name: "input_Slack"
inputs:
slack_field:
type: SLACK_INTEGRATION
name: "Slack Integration"
default: "slack_integration_hash"
execute_commands:
- echo $SLACK_TOKEN
docker_image_name: "library/ubuntu"
docker_image_tag: "latest"
The SLACK_INTEGRATION
parameter adds an input that lets you select the Slack integration and use it in the action. The action also generates $SLACK_TOKEN
that can be used in the pipeline.
Image loading...Custom action with Slack input
Image loading...Custom action logs
Tip
Adding
default
with the integration hash will automatically set the integration in the input.
Last update:
Sep 23, 2024
Sep 23, 2024