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: validate-contribution lint job missing tool setup steps

Đang mở
#19 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@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ả

bug

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@v4
  • actions/setup-python@v6
  • helm/chart-testing-action@v2.7.0

Proposed Fix

Either:

  1. Implement lint_setup_steps: Parse the JSON array and run setup actions before lint
  2. Remove the input: If setup can't be dynamic, remove the misleading parameter
  3. Document the limitation: Clearly state that lint_command must 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

Mở hướng dẫn đóng góp

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 aRustyDev/gh

Tất cả issue của aRustyDev/gh

Issue tương tự

Thêm issue về Shell/Bash

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.