I have some repositories which include more than one project, but I want to make every project apply its own build lifecycle, I created a standalone Github actions workflow file for each project.
In the workflow file, I used the paths attribute on push to differentiate the projects.
on: push: paths: - "dgs-client/**" branches: [ master ] pull_request: branches: [ master ] #...
The problem is when pushing codes to master branch directly, it worked as expected, but when contributing codes via PRs, it will trigger all workflows.
I have to add another
paths on the
pull_request event ?