Skip to content

refactor: rename create-check input to annotate-failures#34

Merged
maximn merged 2 commits into
mainfrom
refactor/annotate-failures-input
Apr 6, 2026
Merged

refactor: rename create-check input to annotate-failures#34
maximn merged 2 commits into
mainfrom
refactor/annotate-failures-input

Conversation

@maximn
Copy link
Copy Markdown
Contributor

@maximn maximn commented Apr 6, 2026

Summary

Renames the create-check action input to annotate-failures. The old name described the mechanism (creating a Check Run); the new name describes what users actually get — inline annotations on failed tests in the PR diff.

Changes

  • action.yml — adds annotate-failures input; keeps create-check with deprecation message for backward compat
  • src/index.ts — reads annotate-failures with create-check as fallback
  • src/__tests__/index.test.ts — updates all test cases + adds fallback test
  • examples/ — updated to use new input name
  • README.md — updates docs, inputs table, feature bullets, and permissions section

Test plan

  • 633 tests pass (including new backward-compat fallback test)
  • Verify create-check: true still works in an existing workflow (backward compat)
  • Verify annotate-failures: true produces inline PR annotations

maximn added 2 commits April 6, 2026 14:28
The old name described the mechanism (creating a Check Run). The new
name describes the user-visible outcome (annotations on failed tests).

Old input kept as a deprecated fallback — existing workflows continue
to work without changes.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 6, 2026

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 6, 2026

🔬 TestGlance

✅ test — 100.0% pass rate

████████████████ 100.0%
✅ 633 passed · ⏱️ 2.0s · 🏥 95/100


Signal Details
🔵 Health Score: 95 → 95

vs main

Metric main PR Delta
Pass rate 100.0% 100.0% +0.0%
Duration 2.0s 2.0s -0.8%

View Run → · 📄 HTML Report


Updated 2026-04-06T21:06:27.008Z

@maximn maximn merged commit a676f02 into main Apr 6, 2026
6 checks passed
@maximn maximn deleted the refactor/annotate-failures-input branch April 6, 2026 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant