When does this workflow run?
on:
push:
paths:
- 'services/api/**'
- On every push, inside services/api
- Only on pushes to an api branch
- When a push changes services/api
- When services/api is newly created
A paths filter triggers the workflow only if the pushed commits touch a matching file, a common way to keep monorepo CI from building everything.
Play DevOps ▸