From 287c7adf76fe5b2c2b78b5cf15fc7907a302fe61 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Mon, 18 Aug 2025 18:10:46 -0700 Subject: [PATCH] github action --- .github/workflows/claude.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 8b58f3b2d1..77b5551f9d 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -37,6 +37,21 @@ jobs: - name: Checkout repository working-directory: /workspace/bun run: | + git config --global user.email "claude-bot@bun.sh" && \ + git config --global user.name "Claude Bot" && \ + git config --global url."git@github.com:".insteadOf "https://github.com/" && \ + git config --global url."git@github.com:".insteadOf "http://github.com/" && \ + git config --global --add safe.directory /workspace/bun && \ + git config --global push.default current && \ + git config --global pull.rebase true && \ + git config --global init.defaultBranch main && \ + git config --global core.editor "vim" && \ + git config --global color.ui auto && \ + git config --global fetch.prune true && \ + git config --global diff.colorMoved zebra && \ + git config --global merge.conflictStyle diff3 && \ + git config --global rerere.enabled true && \ + git config --global core.autocrlf input git fetch origin ${{ github.event.pull_request.head.sha }} git checkout ${{ github.event.pull_request.head.ref }} git reset --hard origin/${{ github.event.pull_request.head.ref }}