Unverified Commit 5b28aaa3 authored by Sam Ko's avatar Sam Ko Committed by GitHub

chore(github): fix wrong-issue-template body (#74003)

## Why?

The automated comment should be a paragraph, not a single line code-snippet.
parent e08fe27a
...@@ -9,8 +9,14 @@ async function main() { ...@@ -9,8 +9,14 @@ async function main() {
const { owner, repo } = context.repo const { owner, repo } = context.repo
const issue = context.payload.issue const issue = context.payload.issue
const body = ` const body = `
This issue has been closed due to the incorrect issue template being used. Please make sure to submit a new issue using the [correct issue template](https://github.com/vercel/next.js/issues/new?assignees=&labels=bug&projects=&template=1.bug_report.yml). This will ensure that we have all the necessary information to triage your issue. Thank you.
` This issue has been closed due to the incorrect issue template being used. Please make sure to submit a new issue using the [correct issue template](https://github.com/vercel/next.js/issues/new?assignees=&labels=bug&projects=&template=1.bug_report.yml). This will ensure that we have all the necessary information to triage your issue.
Thank you for your understanding and contributions.
Best regards,
The Next.js Team
`
try { try {
await octokit.rest.issues.createComment({ await octokit.rest.issues.createComment({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment