Commit 7423084
committed
ci: detach HEAD before fetching origin refs
git refused 'fetch into branch ci/forge-mirror checked out at ...'
because the workflow runs on that branch and the same fetch refspec
overwrites its own ref. Detach HEAD first so no branch is current
and the fetch + force-update is allowed.1 parent 059a3fc commit 7423084
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
0 commit comments