Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

90
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!