Skip to content

Commit

Permalink
chore(github): fix wrong-issue-template body (#74003)
Browse files Browse the repository at this point in the history
## Why?

The automated comment should be a paragraph, not a single line code-snippet.
  • Loading branch information
samcx authored Dec 16, 2024
1 parent e08fe27 commit 5b28aaa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions .github/actions/next-repo-actions/src/wrong-issue-template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@ async function main() {
const { owner, repo } = context.repo
const issue = context.payload.issue
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 {
await octokit.rest.issues.createComment({
Expand Down

0 comments on commit 5b28aaa

Please sign in to comment.