Is it possible to detect what triggered a workflow when specifying paths?
e.g., say we have this directory structure
on: push: branches: - master paths: - "cluster_1/namespace_1/**" - "cluster_1/namespace_2/**" - "cluster_2/namespace_1/**" - "cluster_3/namespace_1/**"
And a merge was made to master with changes to
cluster_2/namespace_1/** … is it possible to get this info from any of the GITHUB env variables, or context?
I know I can grab the merged PR and reach out to the API to get the necessary info, just wondering if there is a simpler way?