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
From our digital overlord:
In this updated workflow:
We've added a new step, "Set BASE_REF for PRs," that runs only for pull requests. It sets an output variable base_ref to origin/{0}, which should be the correct base reference in that context.
In the "Get Affected Workspaces" step, we now use this output variable (if it exists) as the argument to find-changes.sh. If the workflow is triggered by a push (or anything other than a pull request), the set_base_ref step will be skipped, and the condition will evaluate to github.event.before (the same behavior as in your release.yml workflow).
This approach ensures that find-changes.sh always receives a consistent and accurate base reference, making the process more reliable and easier to understand.
0 commit comments