witty-agent-59418
07/29/2024, 4:21 PM--changed-since
, which seems good for the first case, but i'm not sure how that would work when running on main
. I'd like to avoid publishing/triggering deploys for targets that haven't changed, is that something pants can help orchestrate, or is that up to user infra?steep-eve-20716
07/29/2024, 4:24 PMchanged_since
, and pants will use that diff:
⢠On PRs/branches: --changed-since=origin/main
⢠On main: --changed-since=$COMMIT_OF_LAST_PACKAGE
⦠The value of COMMIT_OF_LAST_PACKAGE
is up to your workflow and CI providerwitty-agent-59418
07/29/2024, 4:29 PMcurved-manchester-66006
07/29/2024, 6:56 PM--changed-since=HEAD^ --changed-dependents=transitive
(obviously CI/vcs dependent)witty-agent-59418
07/30/2024, 8:41 AM