woocommerce / grow

7 stars 7 forks source link

Adjust the publishing workflow of `compat-checker` to run only when the changed files are related to it #105

Closed eason9487 closed 4 months ago

eason9487 commented 4 months ago

Changes proposed in this Pull Request:

Currently, the Publish Compat Checker package workflow also runs when unrelated changes are pushed to trunk.

This PR adjusts the workflow to run only for the related changes. Docs reference: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpushpull_requestpull_request_targetpathspaths-ignore

Detailed test instructions:

N/A as it can only be tested after merging and having subsequent changes onto trunk

eason9487 commented 4 months ago

I will be skipping the code review process as it can be optional for a devs-facing only change.