Commit a6f4035
authored
Fix tf-plan: checkout PR head branch after expand push (#90)
## Summary
Same fix as #89 but for `tf-plan.yml`. When `expand-terraform` pushes
regenerated files to the PR branch, `tf-plan` must checkout the updated
branch HEAD (`github.head_ref`), not the stale merge ref (`github.ref`)
captured at workflow trigger time.
Without this, tf-plan validates against old generated files that don't
reflect app.yaml changes.
## Test plan
- [ ] Merge this, then re-run test app PR CI1 parent 8d948fe commit a6f4035
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments