‘push-> paths’ works for single file on my end. Please fix the ‘bad indentation of a mapping entry’ for paths items, workflow is triggered successfully then.
Code as below:
on:
push:
paths:
- 'stack.yaml'
- 'stack.yaml.lock'
- 'package.yaml'
- 'custom-snapshot.yaml'
- 'support/ci-base/**'

Ok thanks. It seems that paths-ignore
was stopping it, even if I set it to ignore ‘v*’, which seems buggy as I am just pushing regular commits. I had an issue previously where pushing tags would trigger this build. Hopefully that won’t happen now.
1 Like
Hi @alistairb ,
Tags don’t ‘change’ files, so you cannot combine them with the ‘paths’ statement. It’s by design that regular commit didn’t trigger the workflow.