Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đã đóng Phù hợp với người mới
#405 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Một pull request liên quan đã được merge.

  • #406 của @tigerblue77 — đã merge

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
75/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions

Hướng nghiên cứu

Lỗi nằm trong mẫu Jinja tại ansible/roles/github/templates/greetings.yml.j2. Nó truyền đầu vào có dấu gạch ngang (issue-message) nhưng hành động lại mong đợi dấu gạch dưới (issue_message). Xác định vị trí mẫu, tìm lệnh gọi hành động first-interaction và thay đổi tên đầu vào. Kiểm tra bằng cách tạo lại tệp greetings.yml và xác minh cú pháp workflow.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Is there an existing issue for this?
  • I have searched the existing issues
Current Behavior

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/[email protected]. On opened events, that action reads both messages as required and fails with Input required and not supplied: issue_message.

In linuxserver/docker-kasm, whose greetings.yml was regenerated on 2026-09-08, the greeting job failed on the four items opened since then: linuxserver/docker-kasm#106, linuxserver/docker-kasm#107, linuxserver/docker-kasm#108 and linuxserver/docker-kasm#109. Other events skip before reading the inputs, e.g. a synchronize on linuxserver/docker-kasm#105 on 2026-09-20 passed.

Expected Behavior

The greeting job passes, and first-time contributors get their message.

Steps To Reproduce
  1. 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.
  2. 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)
Ngôn ngữ chính
Jinja
Star
20
Fork
26
Merge trung bình
3 ngày 3 giờ
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của linuxserver/docker-jenkins-builder

Tất cả issue của linuxserver/docker-jenkins-builder

Issue tương tự

Thêm issue về DevOps

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.