On GitHub Actions, how do I run a job if a specific file in a specific branch has been pushed to?
I've used the following workflow, but I don't know how to specify a specific branch for that file (such as the main branch):
on:
push:
paths: [ index.js ]
Thanks for the help! :)