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