From f21e86908aae70b4f3cc649d331cc727596022bf Mon Sep 17 00:00:00 2001 From: Matt Brophy Date: Wed, 22 Apr 2026 05:59:42 -0400 Subject: [PATCH 1/2] Remove temp restriction for change file workflow --- .github/workflows/changes-file.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/changes-file.yml b/.github/workflows/changes-file.yml index 12a9df2c62..032e467b9d 100644 --- a/.github/workflows/changes-file.yml +++ b/.github/workflows/changes-file.yml @@ -13,8 +13,7 @@ concurrency: jobs: check: name: 📝 Change File Check - # TODO: Temporarily only run on my PRs for testing purposes - if: github.repository == 'remix-run/react-router' && github.event.pull_request.user.login == 'brophdawg11' + if: github.repository == 'remix-run/react-router' runs-on: ubuntu-latest permissions: pull-requests: write From 7a0551035af84fe1318926c3c2569dca777adc14 Mon Sep 17 00:00:00 2001 From: Matt Brophy Date: Wed, 22 Apr 2026 06:04:01 -0400 Subject: [PATCH 2/2] Add links to comments --- scripts/changes/check-pr.ts | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/scripts/changes/check-pr.ts b/scripts/changes/check-pr.ts index 59bb95e35e..62852d2942 100644 --- a/scripts/changes/check-pr.ts +++ b/scripts/changes/check-pr.ts @@ -23,23 +23,22 @@ const COMMENT_MARKER = ""; const COMMENT_FOUND = `${COMMENT_MARKER} ### ✅ Change File Found -A \`.changes\` file has been found in this PR. Thanks!`; +A [change file](https://github.com/remix-run/react-router/blob/main/docs/community/contributing.md#change-files) file exists in this PR. Thanks!`; const COMMENT_MISSING = `${COMMENT_MARKER} -### 📝 No Change File Found +### ⚠️ No Change File Found -This PR doesn't include a change file which is used for automated release notes. -If your change affects users, please add one (or more) and commit the generated file(s). +This PR doesn't include a [change file](https://github.com/remix-run/react-router/blob/main/docs/community/contributing.md#change-files) which is used for automated release notes. +If your change affects users, please add one (or more) change files and commit the generated file(s). \`\`\`sh pnpm run changes:add \`\`\` -> This script requires Node 24+. If you are on a lower version, please [add a file manually](https://reactrouter.com/community/contributing#change-files) +> This script requires Node 24+. If you are on a lower version, please [add a file manually](https://github.com/remix-run/react-router/blob/main/docs/community/contributing.md#change-files) > Not every PR needs a change file — you can skip this step if the change is internal-only -> (tests, tooling, docs)\ -`; +> (tests, tooling, docs)`; // Matches packages/*/.changes/*.md but not .gitkeep const CHANGE_FILE_RE = /^packages\/[^/]+\/\.changes\/[^/]+\.md$/;