ipdxco/github-as-code

If Sync doesn't create a PR, it should rerun all the plans

galargh opened this issue · 0 comments

Sync, even if it doesn't introduce any changes, always changes the state snapshot version. This means that after a sync, all the plans go stale and should be recreated.

This is fine if we create a sync PR because it should be merged first anyway which would in turn kick off Update. But if there's no PR, we never rerun plans right now. And we should.