Had a case where I knew there was a production failure, and had run a production sync before creating my branch (since the org was old and I changed the package.xml significantly).
Submitted the PR and waited for it to generate package.
Once complete, ran the "Deploy to Production (Selective Tests)" pipeline, whose first step was to resync.
Perhaps we could add a variable to skip syncing prod that can be enabled in cases where you very recently ran a sync? Would be helpful in more complex orgs that take some time to refresh.
Ya I've run into this same thing. It's actually been on my mental todo list for a while. Should be easy enough to do, although might need to break up the sh (or add ability to pass arg)
Had a case where I knew there was a production failure, and had run a production sync before creating my branch (since the org was old and I changed the package.xml significantly).
Submitted the PR and waited for it to generate package.
Once complete, ran the "Deploy to Production (Selective Tests)" pipeline, whose first step was to resync.
Perhaps we could add a variable to skip syncing prod that can be enabled in cases where you very recently ran a sync? Would be helpful in more complex orgs that take some time to refresh.