Skip to content

Pass the first-interaction wrapper its own input names - #406

Open
tigerblue77 wants to merge 1 commit into
linuxserver:masterfrom
tigerblue77:claude/fix-greetings-inputs
Open

tigerblue77 wants to merge 1 commit into
linuxserver:masterfrom
tigerblue77:claude/fix-greetings-inputs

Conversation

@tigerblue77

Copy link
Copy Markdown

linuxserver.io


  • I have read the contributing guideline and understand that I have made the correct modifications

Description:

greetings.yml.j2 now passes issue_message, pr_message and repo_token, the input names declared by linuxserver/github-workflows/.github/actions/first-interaction@v1, instead of the issue-message, pr-message and repo-token names of actions/first-interaction@v1.

Benefits of this PR and context:

closes #405

The greeting job stops failing on every opened issue and pull request of the repositories generated from this template, and first-time contributors get their message again.

How Has This Been Tested?

  • Rendered the template with project_deprecation_status false and true: valid YAML whose with keys match the wrapper's inputs, and actionlint 1.7.12 reports nothing.
  • Ran actions/first-interaction v3.1.0 dist/index.js locally on an opened issue event. With empty messages, which is what the wrapper passes today, it fails with Input required and not supplied: issue_message. With the messages set, it gets past the inputs to the GitHub API calls.

Source / References:

The linuxserver first-interaction composite action takes issue_message,
pr_message and repo_token, but the greetings template still passes the
issue-message, pr-message and repo-token names of
actions/first-interaction@v1. GitHub drops them, the wrapper hands
empty messages to actions/first-interaction@v3.1.0, and that fails on
every opened issue and pull request with "Input required and not
supplied: issue_message".

closes linuxserver#405

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RmwHZxdRuWgp9chBZTZTMn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

[BUG] Greetings workflow fails on every opened issue and PR: first-interaction inputs use the old names

3 participants