You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Do not run workflows if only non-source-code files are changed #837
Sometimes, we make changes to plain text files (.md, .rst), without changing any source codes. We know that the changes won't break our tests, but the workflow still runs 9 jobs (Ubuntu/macOS/Windows + Python 3.7/3.8/3.9). It's a waste of CI resources. For example, #726, #802, and #836.
GitHub Actions actually can skip workflows based on the files that are changed,
When using the push and pull_request events, you can configure a workflow to run when at least one file does not match paths-ignore or at least one modified file matches the configured paths. Path filters are not evaluated for pushes to tags.
Activity
liamtoney commentedon Feb 5, 2021
I think this makes a lot of sense.
Skip workflows if only non-source-code files are changed (#839)
Skip workflows if only non-source-code files are changed (GenericMapp…