bug: validate-contribution lint job missing tool setup steps
@aRustyDev đang làm issue này rồi.
Từ ngày 27/1/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Problem
The atomic-release-validate-contribution.yml reusable workflow has a lint_setup_steps input parameter that is defined but never used. The lint job runs lint_command directly without any setup, causing failures when the command requires tools that aren't pre-installed.
Current Implementation
inputs:
lint_setup_steps:
description: 'JSON array of setup steps to run before linting'
required: false
type: string
default: '[]'
But the lint job never references this input:
lint:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run lint command # No setup steps\!
run: |
eval "${{ inputs.lint_command }}"
Impact
When lint_command is ct lint --config ct.yaml, the job fails with:
##[error]Process completed with exit code 127.
(command not found)
Workaround
Consumers must implement their own local lint job with proper setup:
azure/setup-helm@v4actions/setup-python@v6helm/chart-testing-action@v2.7.0
Proposed Fix
Either:
- Implement
lint_setup_steps: Parse the JSON array and run setup actions before lint - Remove the input: If setup can't be dynamic, remove the misleading parameter
- Document the limitation: Clearly state that
lint_commandmust use pre-installed tools
Discovered
- E2E-1 testing on 2026-01-26
- Consumer: aRustyDev/helm-charts
- Ngôn ngữ chính
- Shell
- Star
- 0
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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 aRustyDev/gh
-
dependencies github-actions
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 10/100
-
dependencies github-actions
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 15/100
-
dependencies github-actions
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 50/100
-
dependencies github-actions
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 20/100
-
dependencies github-actions
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 10/100
Issue tương tự
-
align on terminology Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
CycloneDX/transparency-exchange-api#393 · 1 bình luận ·
-
module/agent platform/macos type/bug/regression
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
CachyOS/cachyos-aur-derived#754 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
CrowdStrike/falcon-scripts#528 ·
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100