Fix git auth conflict in background_agent_mvp workflow (#49537)

Fix git auth conflict in background_agent_mvp workflow

The workflow was manually configuring git authentication with:
```bash
git config --local http.https://github.com/.extraheader "AUTHORIZATION: bearer ..."
```

This conflicted with the authentication already set up by
`actions/checkout@v4`, which uses `AUTHORIZATION: basic ...`.

The conflict caused all crash pipeline runs to fail with:
```
fatal: could not read Username for 'https://github.com'
```

This morning's run (22147984206) failed for all 15 crash candidates
(ZED-4VS, ZED-202, etc.) with this error.

Remove the redundant git config since actions/checkout already handles
authentication properly.

Release Notes:

- N/A
This commit is contained in:
morgankrey 2026-02-18 17:19:31 -06:00 committed by GitHub
parent d3fe7d9cfc
commit af050fc565
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -148,8 +148,6 @@ jobs:
continue
fi
git config --local http.https://github.com/.extraheader "AUTHORIZATION: bearer ${GH_TOKEN}"
if ! git fetch origin main; then
echo "WARNING: Failed to fetch origin/main for $CRASH_ID — skipping"
continue