Skip to content

Commit

Permalink
Merge pull request #11 from Takashicc/feat/mention-to
Browse files Browse the repository at this point in the history
feat: Add mention-to-user input
  • Loading branch information
Takashicc authored Mar 18, 2024
2 parents e9c31e3 + 6f9de54 commit f79b3a3
Show file tree
Hide file tree
Showing 7 changed files with 3,839 additions and 15 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
signing-secret: ${{ secrets.SLACK_SIGNING_SECRET }}
app-token: ${{ secrets.SLACK_APP_TOKEN }}
channel-id: ${{ secrets.SLACK_CHANNEL_ID }}
mention-to-user: ${{ secrets.SLACK_MENTION_TO_USER }}
timeout-minutes: 10
```
Expand All @@ -38,6 +39,8 @@ jobs:
- App-level tokens on `Basic Information page`. (starting with `xapp-` )
- `channel-id`
- Channel ID for which you want to send approval.
- `mention-to-user`
- Optional. Slack user ID to mention.

- Set `timeout-minutes`
- Set the time to wait for approval.
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ inputs:
channel-id:
description: "Slack channel ID"
required: true
mention-to-user:
description: "Slack user ID to mention"
required: false

branding:
icon: plus
Expand Down
Loading

0 comments on commit f79b3a3

Please sign in to comment.