-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
15 changed files
with
308 additions
and
192 deletions.
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
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
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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/** | ||
* Handles the event when a pull request is closed. | ||
* @param slackToken - Slack bot token. | ||
* @param slackChannel - Slack channel ID. | ||
* @param slackChannelId - Slack channel ID. | ||
* @param closeMessageTemplate - Template for the close Slack message. | ||
*/ | ||
export declare function handlePRClosed(slackToken: string, slackChannel: string, closeMessageTemplate: string): Promise<void>; | ||
export declare function handlePRClosed(slackToken: string, slackChannelId: string, closeMessageTemplate: string): Promise<void>; |
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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
/** | ||
* Handles the event when a pull request is opened. | ||
* @param slackToken - Slack bot token. | ||
* @param slackChannel - Slack channel ID. | ||
* @param slackChannelId - Slack channel ID. | ||
* @param githubToken - GitHub token. | ||
* @param initialMessageTemplate - Template for the initial Slack message. | ||
* @param commitListMessageTemplate - Template for the commit list Slack message. | ||
* @param githubToSlackMap - Optional mapping of GitHub usernames to Slack user IDs. | ||
* @param sortCommits - Flag to sort commits by types and scopes. | ||
*/ | ||
export declare function handlePROpened(slackToken: string, slackChannel: string, githubToken: string, initialMessageTemplate: string, commitListMessageTemplate: string, githubToSlackMap?: Record<string, string>): Promise<void>; | ||
export declare function handlePROpened(slackToken: string, slackChannelId: string, githubToken: string, initialMessageTemplate: string, commitListMessageTemplate: string, githubToSlackMap?: Record<string, string>, sortCommits?: boolean): Promise<void>; |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/** | ||
* Handles the event when a pull request is updated with new commits. | ||
* @param slackToken - Slack bot token. | ||
* @param slackChannel - Slack channel ID. | ||
* @param slackChannelId - Slack channel ID. | ||
* @param githubToken - GitHub token. | ||
* @param updateMessageTemplate - Template for the update Slack message. | ||
*/ | ||
export declare function handlePRUpdated(slackToken: string, slackChannel: string, githubToken: string, updateMessageTemplate: string): Promise<void>; | ||
export declare function handlePRUpdated(slackToken: string, slackChannelId: string, githubToken: string, updateMessageTemplate: string): Promise<void>; |
Oops, something went wrong.