Conversation
- Migrate from CommonJS to ESM (type: module, .js import extensions) - Upgrade Node runtime from node20 to node24 in action.yml - Replace @vercel/ncc bundler with Rollup - Replace .eslintrc.json with flat config (eslint.config.js) - Upgrade all major dependencies: TypeScript 6, ESLint 10, Jest 30, @actions/core 3, @actions/github 9, minimatch 10, fetch-mock 12 - Update tsconfig to target es2022 with nodenext module resolution - Add copyright headers to all source files - Add Jest ESM support via cross-env and ts-jest-resolver - Add .github/copilot-instructions.md for AI-assisted development - Bump version to 1.0.15 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add nocase option to minimatch in isFileExcluded so patterns like **/**.png also match .PNG, .Png, etc. - Replace fetch-mock with jest.fn() + native Response for test mocking - Remove fetch-mock, node-fetch, and @types/node-fetch dependencies - Fix jest.config.js to use ESM export instead of module.exports - Add tests for: exclusion integration in checkFilesForCrlf, empty exclude array fallback, empty file list, single-file PR comment, bare CR not flagged, and case-insensitive exclusion - Update copilot-instructions.md to reflect new test mocking approach Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Danipocket
approved these changes
Jun 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrades the project to modern ESM tooling, Node 24, and current dependency versions. Removes unnecessary dependencies, improves test mocking, and fixes a case-sensitivity bug in file exclusion matching.
Changes
Toolchain modernization
Test improvements
Bug fix
Documentation
Testing
All 14 tests pass ( npm test ).