-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
sangeet-joy_xero
committed
Oct 17, 2024
1 parent
1f8c0aa
commit 403737d
Showing
2 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,12 @@ inputs: | |
repository_name: | ||
required: false | ||
description: "repo name" | ||
bot_token: | ||
required: true | ||
description: "slack app token" | ||
channel_id: | ||
required: true | ||
description: "channel id" | ||
|
||
|
||
runs: | ||
|
@@ -39,8 +45,10 @@ runs: | |
id: slack | ||
uses: slackapi/[email protected] | ||
env: | ||
SLACK_WEBHOOK_URL: ${{inputs.XERO_SLACK_WEBHOOK_URL}} | ||
# SLACK_WEBHOOK_URL: ${{inputs.XERO_SLACK_WEBHOOK_URL}} | ||
SLACK_BOT_TOKEN: ${{inputs.bot_token}} | ||
with: | ||
channel-id: ${{inputs.channel_id}} | ||
payload: | | ||
{ | ||
"text": "TESTING ---- ${{inputs.heading_text}}", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters