| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 38eb7886-7ea3-4e4d-8d5f-e3f975135053
There was a problem hiding this comment.
Adds a new user-facing input to control whether setup-java registers the Java problem matcher, to help avoid hitting GitHub Actions annotation limits while keeping default behavior unchanged.
Changes:
| File | Description |
|---|---|
| src/setup-java.ts | Switches matcher registration to a new helper that can be disabled via input. |
| src/problem-matcher.ts | New helper that conditionally registers the Java matcher based on problem-matcher. |
| src/constants.ts | Adds INPUT_PROBLEM_MATCHER constant. |
| README.md | Documents the new problem-matcher input and updates a Maven example. |
| docs/advanced-usage.md | Expands problem matcher docs (owners/limits) and simplifies Maven examples/notes. |
| action.yml | Adds the new problem-matcher input definition. |
| tests/problem-matcher.test.ts | Adds unit coverage for default-enabled and disabled behavior. |
| dist/setup/index.js | Bundled output reflecting the new input and helper. |
| dist/cleanup/index.js | Bundled output reflecting the new input constant. |
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Description:
GitHub Actions displays only a limited number of annotations per step, so Java compilation failures can quickly exceed the problem matcher limit. Add a problem-matcher input, enabled by default for compatibility, that lets users skip matcher registration when annotations are not useful.
Document the annotation limits and all matcher owners, add unit coverage for enabled and disabled behavior, and simplify Maven examples now that generated settings disable interactive mode automatically.
Related issue:
N/A
Check list: