Commit 582cfeb
committed
PHP split: replace docker action with manual splitsh-lite + git push
The danharrin/monorepo-split-github-action builds a clone URL as
https://<TOKEN>@github.com which works with classic PATs (token works
as username) but FAILS with GitHub App installation tokens, which per
GitHub docs must be used as https://x-access-token:<TOKEN>@github.com
(token as password, 'x-access-token' as username).
Symptom seen in the failed run after merging v0.0.2:
fatal: could not read Password for 'https://***@github.com':
No such device or address
Replacing the action with splitsh-lite v2.0.0 + a manual git push lets
us control the remote URL format. Bonus: splitsh-lite is the same
underlying tool the docker action wraps, and it preserves the full
git history of implementations/php/ as Packagist expects.
Both release.yml (tagged release path) and php-split.yml (master-sync
path) get the same treatment.1 parent dd7ee05 commit 582cfeb
2 files changed
Lines changed: 33 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
231 | 230 | | |
232 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
0 commit comments