Skip to content

Commit

Permalink
Create readme-reusable-slack-notifs.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cenevan authored May 22, 2024
1 parent 083c014 commit ff466ec
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/utility/readme-reusable-slack-notifs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Workflow Configuration

## Name

Reusable workflow to create slack notifications

## Triggers

The workflow is triggered using workflow_call, allowing it to be reused in other workflows.

## Inputs

- short-desc (string, required): A brief description of the Slack message.
- title (string, required): The title of the Slack message.
- img-url (string, required): URL of the image to be included in the Slack message. Requires downloadable image file (.png, .jpg, etc.)
- img-alt-text (string, required): Alt text for the image.

## Secrets

- channel-name (required): The name of the Slack channel where the message will be sent.
- slack-bot-token (required): The token for the Slack bot to authenticate the API request.

0 comments on commit ff466ec

Please sign in to comment.