mirror of
https://github.com/zoriya/Aeris.git
synced 2026-06-05 11:40:22 +00:00
removing action commentpr
This commit is contained in:
@@ -64,17 +64,6 @@ export class Github extends BaseService {
|
||||
);
|
||||
}
|
||||
|
||||
@reaction(ReactionType.CommentPR, ['owner', 'repo', 'pull_number', 'body'])
|
||||
async commentPR(params: any): Promise<PipelineEnv> {
|
||||
let res = await this._github.pulls.createReviewComment({
|
||||
owner: params['owner'], repo: params['repo'],
|
||||
pull_number: params['pull_number'], body: params['body']
|
||||
});
|
||||
return {
|
||||
URL: res.url,
|
||||
};
|
||||
}
|
||||
|
||||
@reaction(ReactionType.ClosePR, ['owner', 'repo', 'pull_number'])
|
||||
async closePR(params: any): Promise<PipelineEnv> {
|
||||
await this._github.pulls.update({
|
||||
|
||||
Reference in New Issue
Block a user