Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

bug: validate-contribution lint job missing tool setup steps

Aperta
#19 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@aRustyDev ci sta già lavorando.

Dal 27/1/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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
Lingua principale
Shell
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di aRustyDev/gh

Tutte le issue di aRustyDev/gh

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.