I have a requirement where I need to run the github actions workflow when there is a change in one folder I need to call one workflow file, if there is a change in that folder and/or other files then I need to call another workflow file. Say for example if there is a change in terraform/*** folder then I need to run abc.yaml file, if there is a change in terraform/*** folder and abc.txt then I need to run cba.yaml and if there is a change in abc.txt then I need to run cba.yaml
Asked
Active
Viewed 24 times
0
-
2Does this answer your question? [How to run GitHub Actions workflow only if the pushed files are in a specific folder](https://stackoverflow.com/questions/63822219/how-to-run-github-actions-workflow-only-if-the-pushed-files-are-in-a-specific-fo) – Azeem May 13 '23 at 06:31
-
Also, seems relevant: https://github.com/orgs/community/discussions/25669 – Azeem May 13 '23 at 06:32