File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1- name : Mirror subdir to . agents
1+ name : Mirror subdir to dot- agents
22on :
33 push :
44 branches : [main]
@@ -12,10 +12,17 @@ jobs:
1212 - uses : actions/checkout@v4
1313 with :
1414 fetch-depth : 0
15+ persist-credentials : false
16+
17+ # (belt-and-suspenders) ensure the injected header is gone even if persist-credentials isn't honored
18+ - name : Clear default GitHub auth header
19+ run : git config --global --unset-all http.https://github.com/.extraheader || true
20+
1521 - name : Configure Git
1622 run : |
17- git config user.name "github-actions[ bot] "
23+ git config user.name "codebuff mirror bot"
1824 git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
25+
1926 - name : Push subtree
2027 env :
2128 TOKEN : ${{ secrets.CODEBUFF_GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments