Skip to content

Commit e53a047

Browse files
Merge pull request #6 from tharapalanivel/pr_label_wf2
Delete welcome message
2 parents c65f6d7 + f6279e8 commit e53a047

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

.github/workflows/labelpr.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,9 @@ jobs:
1212
with:
1313
github-token: ${{ secrets.GITHUB_TOKEN }}
1414
script: |
15-
const pr_welcome_msg = `Thanks for making a pull request! 😃\nOne of the maintainers will review and advise on the next steps.`;
1615
// https://github.com/commitizen/conventional-commit-types
1716
const valid_pr_types = ['feat', 'fix', 'docs', 'style', 'refactor', 'perf', 'test', 'build', 'ci', 'chore', 'revert'];
1817
19-
if(context.payload.pull_request.comments === 0) {
20-
await github.rest.issues.createComment({ ...context.repo, issue_number: context.payload.number, body: pr_welcome_msg});
21-
}
2218
2319
const title = context.payload.pull_request.title;
2420
const results = /^(\w+)(\(\w+\))?!?:/.exec(title);

0 commit comments

Comments
 (0)