[BUG] Greetings workflow fails on every opened issue and PR: first-interaction inputs use the old names
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
- Lĩnh vực
- ci-cd, developer-experience
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
- Open an issue or a pull request in a repository whose
.github/workflows/greetings.ymlwas generated from the current template, e.g. linuxserver/docker-kasm. - The
greetingjob fails, with theUnexpected 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
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của linuxserver/docker-jenkins-builder
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
linuxserver/docker-jenkins-builder#414 · 1 bình luận ·
Tất cả issue của linuxserver/docker-jenkins-builder
Issue tương tự
-
automated issue report
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
camunda/camunda-deployment-references#3903 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
VLAgent `spec.k8sCollector.includePodLabels: false` has no effectCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
VictoriaMetrics/operator#2772 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
admission-deferred priority: medium status: ready work-class: scoped
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
melodic-software/claude-code-plugins#10887 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
personalrobotics/geodude#243 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs: investigation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày