2019-12-11 03:29:39 +01:00
|
|
|
**/.next/**
|
|
|
|
**/_next/**
|
2020-04-07 15:42:16 +02:00
|
|
|
**/dist/**
|
2021-11-21 12:59:56 +01:00
|
|
|
packages/next-swc/crates/**
|
2023-01-04 00:54:11 +01:00
|
|
|
packages/next/src/compiled/**/*
|
2021-01-14 02:59:08 +01:00
|
|
|
packages/next/bundles/webpack/packages/*.runtime.js
|
2020-05-04 03:56:17 +02:00
|
|
|
lerna.json
|
2020-08-10 11:14:53 +02:00
|
|
|
packages/next-codemod/transforms/__testfixtures__/**/*
|
|
|
|
packages/next-codemod/transforms/__tests__/**/*
|
2023-01-06 20:35:16 +01:00
|
|
|
test/development/basic/hmr/components/parse-error.js
|
2022-10-31 06:58:45 +01:00
|
|
|
pnpm-lock.yaml
|
chore: verify missing/invalid/private reproduction links (#54724)
### What?
This PR adds a new action that verifies if the reproduction link is correct _after_ the issue has been created. If it is not, we close the issue and comment on it with the correct steps to take. Check out the [rendered comment here](https://github.com/balazsorban44/next.js/blob/chore/gh-invalid-link-checker/.github/actions/issue-validator/repro-link/invalid-link.md).
Additionally, this PR also does some refactoring to simplify our GitHub actions related to issues.
Tests:
Issue that was supposed to be closed:
- https://github.com/balazsorban44/next.js/issues/48
- Issue comment: https://github.com/balazsorban44/next.js/issues/48#issuecomment-1698836121
- Issue opened action: https://github.com/balazsorban44/next.js/actions/runs/6023209630
- Issue labeled action: https://github.com/balazsorban44/next.js/actions/runs/6023209629
Issue that was not supposed to be closed (closed manually afterward):
- https://github.com/balazsorban44/next.js/issues/49
- Issue opened action: https://github.com/balazsorban44/next.js/actions/runs/6023214256
- Issue labeled action: https://github.com/balazsorban44/next.js/actions/runs/6023214258
### Why?
Unfortunately, GitHub is currently missing the [functionality to require a valid reproduction link](https://github.com/orgs/community/discussions/10227) in issue templates. Even if that was supported, this PR adds functionality that could not be covered with a regex validation. Namely, we check if the reproduction is a private repo or not, and potentially could also check the structure to see if it's an actual Next.js project.
### How?
If the link is not in the expected section, not a GitHub, CodeSandbox, or Replay.io link, or does not return an OK response (eg.: private repo/sandbox), the issue is closed/commented.
Related:
- https://github.com/orgs/community/discussions/4629
- https://github.com/orgs/community/discussions/10227
Co-authored-by: Steven <229881+styfle@users.noreply.github.com>
2023-08-30 19:40:57 +02:00
|
|
|
.github/actions/issue-validator/*/index.mjs
|
2023-06-20 15:19:06 +02:00
|
|
|
.github/actions/validate-docs-links/lib/index.js
|
2023-07-20 11:34:29 +02:00
|
|
|
.github/actions/needs-triage/index.js
|
2023-08-03 23:40:28 +02:00
|
|
|
.github/actions/*/index.mjs
|
2022-10-31 06:58:45 +01:00
|
|
|
**/convex/_generated/**
|