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
45 lines
1.5 KiB
Text
45 lines
1.5 KiB
Text
node_modules
|
|
**/.next/**
|
|
**/_next/**
|
|
**/.vscode/**
|
|
**/dist/**
|
|
e2e-tests/**
|
|
examples/with-eslint/**
|
|
examples/with-typescript-eslint-jest/**
|
|
examples/with-kea/**
|
|
examples/with-custom-babel-config/**
|
|
examples/with-flow/**
|
|
examples/with-jest/**
|
|
examples/with-mobx-state-tree/**
|
|
examples/with-mobx/**
|
|
examples/with-tigris/db/models/todoItems.ts
|
|
packages/next/src/bundles/webpack/packages/*.runtime.js
|
|
packages/next/src/bundles/webpack/packages/lazy-compilation-*.js
|
|
packages/next/src/compiled/**/*
|
|
packages/react-refresh-utils/**/*.js
|
|
packages/react-dev-overlay/lib/**
|
|
**/__tmp__/**
|
|
.github/actions/next-stats-action/.work
|
|
.github/actions/issue-validator/index.mjs
|
|
.github/actions/issue-labeler/lib/index.js
|
|
.github/actions/validate-docs-links/lib/index.js
|
|
.github/actions/needs-triage/index.js
|
|
.github/actions/minus-one/index.mjs
|
|
packages/next-codemod/transforms/__testfixtures__/**/*
|
|
packages/next-codemod/transforms/__tests__/**/*
|
|
packages/next-codemod/**/*.js
|
|
packages/next-codemod/**/*.d.ts
|
|
packages/next-env/**/*.d.ts
|
|
packages/create-next-app/templates/**
|
|
test/integration/eslint/**
|
|
test/integration/script-loader/**/*
|
|
test/development/basic/legacy-decorators/**/*
|
|
test/production/emit-decorator-metadata/**/*.js
|
|
test/e2e/app-dir/rsc-errors/app/swc/use-client/page.js
|
|
test-timings.json
|
|
packages/next-swc/crates/**
|
|
bench/nested-deps/pages/**
|
|
bench/nested-deps/components/**
|
|
packages/next-bundle-analyzer/index.d.ts
|
|
examples/with-typescript-graphql/lib/gql/
|
|
test/development/basic/hmr/components/parse-error.js
|