Zum Hauptinhalt springen

Schlagwort: Github-Actions

Github Actions on pull_request filters all its changed paths

When you trigger your Github-Action on the pull_request action, the paths and paths-ignore filter applies to all changed path of the particual pull request. I assumed the filters would only be applied on the pushed contents of the latest HEAD of the request. My goal was to don’t trigger the workflow for testing the whole application, when only md or txt files were changed. So to achive my goal, I need to use on:push event with the appropriate paths/paths-ignore defined.