deploy: fetch-depth=0 in checkout so the mirror push can prove ancestry
- SHA
138c588a533aeb6e49f64a7d6bca969c7f091043- Parents
-
7947046 - Tree
f2131e6
138c588
138c588a533aeb6e49f64a7d6bca969c7f0910437947046
f2131e6| Status | File | + | - |
|---|---|---|---|
| M |
.github/workflows/deploy.yml
|
7 | 0 |
.github/workflows/deploy.ymlmodified@@ -26,6 +26,13 @@ jobs: | ||
| 26 | 26 | environment: production |
| 27 | 27 | steps: |
| 28 | 28 | - uses: actions/checkout@v4 |
| 29 | + with: | |
| 30 | + # Full history so the Mirror-to-shithub.sh step can prove | |
| 31 | + # ancestry against whatever the mirror's tip is. Default | |
| 32 | + # depth=1 makes any push that isn't the very first commit | |
| 33 | + # fail "non-fast-forward" because the runner can't see | |
| 34 | + # the parent chain. | |
| 35 | + fetch-depth: 0 | |
| 29 | 36 | |
| 30 | 37 | - uses: actions/setup-go@v5 |
| 31 | 38 | with: |