You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Greetings workflow fails on every opened issue and PR: first-interaction inputs use the old names #405
Since #400, ansible/roles/github/templates/greetings.yml.j2 calls linuxserver/github-workflows/.github/actions/first-interaction@v1, which declares the inputs issue_message, pr_message and repo_token. The template still passes issue-message, pr-message and repo-token, the names used by actions/first-interaction@v1. GitHub drops them (Unexpected input(s) 'issue-message', 'pr-message', 'repo-token', valid inputs are ['issue_message', 'pr_message', 'repo_token']), so the wrapper hands empty messages to actions/first-interaction@v3.1.0. On opened events, that action reads both messages as required and fails with Input required and not supplied: issue_message.
The greeting job passes, and first-time contributors get their message.
Steps To Reproduce
Open an issue or a pull request in a repository whose .github/workflows/greetings.yml was generated from the current template, e.g. linuxserver/docker-kasm.
The greeting job fails, with the Unexpected input(s) annotation quoted above.
Environment
- GitHub Actions, `ubuntu-latest` runner
- Template: `ansible/roles/github/templates/greetings.yml.j2` at 44ca128
Docker creation
Not applicable: the bug is in the generated .github/workflows/greetings.yml GitHub Actions workflow, no container is involved.
Container logs
# Annotation of the failed greeting job on linuxserver/docker-kasm#108# https://github.com/linuxserver/docker-kasm/actions/runs/35851054932/job/107148567936
Unexpected input(s) 'issue-message', 'pr-message', 'repo-token', valid inputs are ['issue_message', 'pr_message', 'repo_token']
# actions/first-interaction v3.1.0 dist/index.js run locally on an "opened" issue event,# with the empty messages the wrapper passes
Running actions/first-interaction!
Error: Input required and not supplied: issue_message
at Object.getInput (file:///tmp/claude-0/fi/dist/index.js:27041:17)
Activity
Pass the first-interaction wrapper its own input names