Skip to content

fix: support kebab-case action inputs#825

Merged
kitsuyui merged 1 commit into
mainfrom
support-kebab-case-action-inputs
May 21, 2026
Merged

fix: support kebab-case action inputs#825
kitsuyui merged 1 commit into
mainfrom
support-kebab-case-action-inputs

Conversation

@kitsuyui
Copy link
Copy Markdown
Owner

Summary

  • Add kebab-case action input names while keeping legacy names for compatibility.
  • Resolve kebab-case token input values before creating the Octokit client.
  • Prefer kebab-case input names in docs and the dogfooding workflow.
  • Re-export RuleStringPattern from the canonical interface module instead of redefining it in rules.ts.

Testing

  • bun run format
  • bun run lint
  • bun run test
  • bun run build
  • git diff --check

@github-actions
Copy link
Copy Markdown

🎉 Happy commit!

  • dogfooding: PR fix: support kebab-case action inputs #825 always celebrates.
  • dogfooding: 99b808341ac6ccb666fd684fde85b2dd28b9abba always celebrates.
  • Commit 99b808341ac6ccb666fd684fde85b2dd28b9abba is unlucky... It contains 666!.

@github-actions
Copy link
Copy Markdown

gh-counter

PR gate

Removed Added +/-
TODO/FIXME 0 0 0

Repo dashboard

main (45435c8) #825 (932c7fe) +/-
TODO/FIXME 0 0 0

Reported by gh-counter

@github-actions
Copy link
Copy Markdown

Code Metrics Report

main (45435c8) #825 (932c7fe) +/-
Coverage 99.0% 99.0% 0.0%
Code to Test Ratio 1:0.5 1:0.5 -0.1
Test Execution Time 1s 1s 0s
Details
  |                     | main (45435c8) | #825 (932c7fe) | +/-  |
  |---------------------|----------------|----------------|------|
  | Coverage            |          99.0% |          99.0% | 0.0% |
  |   Files             |              5 |              5 |    0 |
  |   Lines             |            107 |            107 |    0 |
  |   Covered           |            106 |            106 |    0 |
- | Code to Test Ratio  |          1:0.5 |          1:0.5 | -0.1 |
  |   Code              |           1386 |           1415 |  +29 |
  |   Test              |            758 |            758 |    0 |
  | Test Execution Time |             1s |             1s |   0s |

Code coverage of files in pull request scope (100.0% → 100.0%)

Files Coverage +/- Status
src/rules.ts 100.0% 0.0% modified

Reported by octocov

@github-actions
Copy link
Copy Markdown

gh-build-size

Target main #825 +/-
Total action artifacts 23,290,052 B 23,291,815 B +1,763 B
Runtime bundle 1,151,843 B 1,152,236 B +393 B
Source maps 17,122,599 B 17,124,035 B +1,436 B
Type declarations 4,973,541 B 4,973,475 B -66 B

Reported by gh-build-size

@kitsuyui kitsuyui merged commit d8fc92c into main May 21, 2026
5 checks passed
@kitsuyui kitsuyui deleted the support-kebab-case-action-inputs branch May 21, 2026 13:43
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