Skip to content

Commit 700fb0d

Browse files
authored
[GitHub] Update pr-title-checker.yml (#5727)
Update pr-title-checker.yml
1 parent d9b365b commit 700fb0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr-title-checker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
// Add comment in the PR to warn the author
4646
if (!valid) {
4747
const comment = ':warning: :warning: :warning:<br>@' + context.payload.pull_request.user.login + ' your PR title is not following the required format :pencil2:<br>'+commentExplain+':warning: :warning: :warning:';
48-
github.issues.createComment({
48+
github.rest.issues.createComment({
4949
issue_number: prNumber,
5050
owner: context.repo.owner,
5151
repo: context.repo.repo,

0 commit comments

Comments
 (0)