Skip to content

Commit 51eb582

Browse files
ci(fro-bot): remove timeout and adjust checkout ref logic (#256)
* fix(ci): fix fro-bot checkout auth failure The checkout step was failing with 'could not read Username' because persist-credentials: false was added without restoring the ref parameter. The ref parameter restricts fetches to a specific commit rather than all refs, which works without full credential persistence. Fixes Fro Bot CI check failure on this PR. * ci(fro-bot): remove timeout and adjust checkout ref logic * fix(ci): bypass checkout v6 includeIf.gitdir credential failure Checkout v6's includeIf.gitdir credential mechanism intermittently fails to authenticate during fetch (actions/checkout#2359, #2393). Fix by setting the PAT as a global http.extraheader BEFORE checkout runs, and disabling persist-credentials to prevent checkout from using the broken includeIf.gitdir path. The global config survives checkout's local-only credential cleanup. * fix(ci): remove manual git credentials — handled by fro-bot agent * fix(ci): restore global extraheader before checkout * ci(fro-bot): drop configure git credentials step --------- Co-authored-by: fro-bot <80104189+fro-bot@users.noreply.github.com>
1 parent 0087e09 commit 51eb582

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/fro-bot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ jobs:
103103
fro-bot:
104104
name: Fro Bot
105105
runs-on: ubuntu-latest
106-
timeout-minutes: 30
107106
if: >-
108107
(
109108
github.event.pull_request == null ||
@@ -175,3 +174,4 @@ jobs:
175174
model: ${{ vars.FRO_BOT_MODEL }}
176175
omo-providers: ${{ secrets.OMO_PROVIDERS }}
177176
prompt: ${{ env.PROMPT }}
177+
timeout: 0

0 commit comments

Comments
 (0)