github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/bitbucket/testdata/steps/example14.yaml (about) 1 # Example using the condition option to only run a step when certain files change 2 3 pipelines: 4 default: 5 - step: 6 name: step1 7 script: 8 - echo "failing paths" 9 - exit 1 10 condition: 11 changesets: 12 includePaths: 13 # only xml files directly under path1 directory 14 - "path1/*.xml" 15 # any changes in deeply nested directories under path2 16 - "path2/**"