df0330f72e
### What?
Adds a GitHub Action that automatically marks unhelpful comments as "off-topic".
You can test it by adding off-topic comments to this issue: https://github.com/balazsorban44/next.js/issues/21
17e3ec3068/.github/actions/minus-one/src/index.mjs (L6)
### Why?
A common problem is when an issue thread receives "+1" comments, it usually encourages others to do the same. This makes the thread harder and harder for maintainers to read, without adding value to the discussion.
### How?
When an issue receives a comment, we compare it to a list that we determine as off-topic. If it matches, we hide the comment.
See: https://docs.github.com/en/graphql/reference/mutations#minimizecomment
53 lines
537 B
Text
53 lines
537 B
Text
# build output
|
|
dist
|
|
.next
|
|
target
|
|
packages/next/wasm/@next
|
|
|
|
# dependencies
|
|
node_modules
|
|
package-lock.json
|
|
yarn.lock
|
|
!/yarn.lock
|
|
test/node_modules
|
|
.pnpm-store/
|
|
.github/**/node_modules
|
|
|
|
# logs & pids
|
|
*.log
|
|
pids
|
|
*.cpuprofile
|
|
|
|
# coverage
|
|
.nyc_output
|
|
coverage
|
|
|
|
# test output
|
|
test/**/out*
|
|
test/**/next-env.d.ts
|
|
.DS_Store
|
|
/e2e-tests
|
|
test/tmp/**
|
|
test/.trace
|
|
test/traces
|
|
|
|
# Editors
|
|
**/.idea
|
|
**/.#*
|
|
.nvmrc
|
|
|
|
# examples
|
|
examples/**/out
|
|
examples/**/.env*.local
|
|
|
|
pr-stats.md
|
|
test-timings.json
|
|
|
|
# Vercel
|
|
.vercel
|
|
.now
|
|
|
|
# Cache
|
|
*.tsbuildinfo
|
|
.swc/
|
|
.turbo
|