Merge pull request #9949 from Kilo-Org/fix/checkout-v6-committer-token

fix(ci): clear checkout v6 credentials
This commit is contained in:
Mark IJbema
2026-05-06 10:48:13 +02:00
committed by GitHub
4 changed files with 18 additions and 0 deletions
@@ -39,6 +39,15 @@ runs:
- name: Clear checkout auth
run: |
git config --local --unset-all http.https://github.com/.extraheader || true
# kilocode_change start
keys="$(git config --local --name-only --get-regexp '^includeIf\.gitdir:' || true)"
for key in $keys; do
path="$(git config --local --get "$key" || true)"
case "$path" in
*git-credentials-*.config) git config --local --unset-all "$key" || true ;;
esac
done
# kilocode_change end
shell: bash
- name: Configure git remote
+1
View File
@@ -16,6 +16,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v6 # kilocode_change
with:
persist-credentials: false # kilocode_change
fetch-depth: 0
- name: Setup Bun
+4
View File
@@ -15,6 +15,10 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v6 # kilocode_change
# kilocode_change start
with:
persist-credentials: false
# kilocode_change end
- name: Setup Bun
uses: ./.github/actions/setup-bun
+4
View File
@@ -184,6 +184,10 @@ jobs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6 # kilocode_change
# kilocode_change start
with:
persist-credentials: false
# kilocode_change end
- uses: ./.github/actions/setup-bun