Skip to content

fix: use snake_case inputs for actions/first-interaction@v3 - #346

Merged
bobluppes merged 1 commit into
mainfrom
fix-greetings-input-names
Aug 31, 2026
Merged

fix: use snake_case inputs for actions/first-interaction@v3#346
bobluppes merged 1 commit into
mainfrom
fix-greetings-input-names

Conversation

@bobluppes

Copy link
Copy Markdown
Owner

Why

#292 bumped `actions/first-interaction` from v1 to v3, but v3 renamed its inputs from kebab-case to snake_case (`repo-token` -> `repo_token`, `issue-message` -> `issue_message`, `pr-message` -> `pr_message`). The old kebab-case names are silently ignored (with an "Unexpected input(s)" warning), leaving the required `issue_message` unset. This crashes the Greetings workflow on any genuine `opened` pull_request_target/issues event.

Synchronize events (e.g. pushes to an existing PR branch) happen to skip past the crash, since the action checks the event action before validating required inputs — which is why this went unnoticed until a fresh PR/issue is actually opened.

What Changed

Renamed the three inputs to their v3 snake_case equivalents.

Verification

Confirmed the crash in CI logs on a real "opened" event (dependabot PR #345's initial run), and confirmed the same input-name mismatch by diffing against v3's schema.

v3 renamed its inputs from kebab-case to snake_case (repo-token ->
repo_token, issue-message -> issue_message, pr-message -> pr_message).
The old names are silently ignored, leaving issue_message unset, which
crashes the workflow on any real "opened" pull_request_target/issues
event. Synchronize events happened to skip past the crash, which is why
this went unnoticed after the v1->v3 bump in #292.
@codecov

codecov Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.58%. Comparing base (adc9ad2) to head (b0f739d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #346   +/-   ##
=======================================
  Coverage   99.58%   99.58%           
=======================================
  Files          59       59           
  Lines        2621     2621           
  Branches      136      136           
=======================================
  Hits         2610     2610           
  Misses         11       11           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bobluppes
bobluppes merged commit cf940ab into main Aug 31, 2026
7 of 8 checks passed
@bobluppes
bobluppes deleted the fix-greetings-input-names branch August 31, 2026 18:36
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