removing action commentpr

This commit is contained in:
Clément Le Bihan
2022-03-06 15:08:11 +01:00
parent 56914616e0
commit 4b9008937a
-11
View File
@@ -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({