Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

91
Vistas
Lint only the pushed commit file on azure pipeline

I am trying to lint only the pushed files but the following yaml file only validates the whole codebase not the pushed file.

trigger:
- development-test

pool:
  vmImage: ubuntu-latest

stages:
- stage: PreDeployment
  jobs:
    - job: Code_Validation
      steps:
      - script: |
          docker pull github/super-linter:latest    
        displayName: Pull github/super-linter docker image
 
      - script: |
          docker run \
            -e VALIDATE_CODE_BASE=false
            -v $(System.DefaultWorkingDirectory):/tmp/lint github/super-linter
        displayName: super-linter validation

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Your env VALIDATE_CODE_BASE should be VALIDATE_ALL_CODEBASE

from https://github.com/github/super-linter#environment-variables :

ENV VAR Default Value Notes
... ... ...
VALIDATE_ALL_CODEBASE true Will parse the entire repository and find all files to validate across all types. NOTE: When set to false, only new or edited files will be parsed for validation.
... ... ...
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda