ci: use the snake_case input names first-interaction v3 expects (#1981)

The step passed repo-token, issue-message and pr-message, which are the v1
names. v3 renamed them to repo_token, issue_message and pr_message, so GitHub
dropped all three as unknown inputs and the action failed on the first required
lookup:

  Unexpected input(s) 'repo-token', 'issue-message', 'pr-message',
    valid inputs are ['issue_message', 'pr_message', 'repo_token']
  Error: Input required and not supplied: issue_message

repo_token looked supplied in the logs only because the action declares it with
default: ${{ github.token }}; the two messages have no default.

Every run since the workflow merged has failed, so first-time contributors got a
red check on their first PR and no welcome comment, which is the opposite of
what the workflow is for.

pull_request_target runs the base branch's copy of a workflow, so this cannot be
exercised from a PR — the next first-time contribution after merge is the check.
This commit is contained in:
Hector Ventura authored and GitHub committed 2026-07-27 08:02:40 -05:00
1 parent f36598244d
commit 2bea2c0aec
1 file changed
+3 -3
+3 -3
View File
@@ -24,16 +24,16 @@ jobs:
# single newline in a comment as a hard line break.
- uses: actions/first-interaction@v3.1.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
issue-message: |
issue_message: |
👋 Thanks for opening your first issue in Floci!
A maintainer will triage this and add the right service label. If you included a minimal reproduction and the Floci version, that is everything we need — no action required from you right now.
Come say hi in [Slack](https://join.slack.com/t/floci/shared_invite/zt-3tjn02s3q-A00kEjJ1cZxsg_imTfy6Cw) if you want to talk it through with maintainers and other contributors. Questions about AWS behaviour, design tradeoffs, and rough proposals are all welcome there.
pr-message: |
pr_message: |
🎉 Thanks for your first pull request to Floci!
**Your CI checks need a maintainer to approve them before they run.** That is GitHub's standard gate on first-time contributors, not a problem with your PR — so if the checks look like they are doing nothing, that is why. Once a maintainer approves, CI and the compatibility suite start automatically. Nothing is needed from you in the meantime.