報せNews
2026-09-07 報 release. 7 September 2026
GitHub Action v2 adds gem directory mode and baselines
The files input now walks the whole repository tree, and baselines, include/exclude, and SARIF suppression notes ship in the wrapper that CI actually runs.
- Version 1 expanded globs in bash and had no baseline input, even after the gem shipped directory mode and baselines in 0.8.0. Version 2 passes paths straight to kotoshu check, adds baseline, include, exclude, show_suppressed, and category inputs, and merges per-file SARIF runs so upload-sarif accepts the report.
- A self-test workflow runs the action against a fixture repository with two misspellings and a committed baseline: baselined entries pass as notes, new errors fail, and gitignored files stay out. The action requires gem 0.8.0 or newer, and the v2 tag was cut by the owner.
see also Action docs action-kotoshu PR #2