Commit ba75778
authored
fix: release-doc-sync action checkout pollutes caller's working tree (#20)
The composite action was checking out the meta-repo to a path inside
GITHUB_WORKSPACE (.release-doc-sync). The caller's release.yml does
git add -A after the action runs, which picked up the directory as
a 160000-mode gitlink (submodule pointer to meta-repo HEAD SHA).
Every release commit was polluted with this stale pointer.
Fix: move the meta-repo checkout to ${{ runner.temp }}/release-doc-sync,
which is outside the workspace and not visible to the caller's
git add. The action's run step's working-directory updated to match.
Surfaced during Phase 2b smoke test on Docker (#5).
Caught before Phase 2c parallel rollout could propagate the pollution
to 5 more tool repos.
Adds a regression test guarding against future re-introduction.
Signed-off-by: 154358121+TMHSDigital@users.noreply.github.com
Made-with: Cursor
Signed-off-by: 154358121+TMHSDigital@users.noreply.github.com1 parent b05e0f0 commit ba75778
3 files changed
Lines changed: 45 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
92 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
98 | | - | |
| 100 | + | |
99 | 101 | | |
100 | 102 | | |
101 | 103 | | |
| |||
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
108 | | - | |
| 110 | + | |
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
690 | 690 | | |
691 | 691 | | |
692 | 692 | | |
693 | | - | |
694 | 693 | | |
695 | 694 | | |
696 | 695 | | |
697 | 696 | | |
698 | 697 | | |
699 | 698 | | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
700 | 736 | | |
701 | 737 | | |
702 | 738 | | |
| |||
0 commit comments