From cbff98575a2e29d4b29156a8b590ff390cecf0ab Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Mon, 8 Jun 2026 15:27:34 -0700 Subject: [PATCH] Update git identity from typescript-bot to typescript-automation[bot] --- .github/workflows/accept-baselines-fix-lints.yaml | 4 ++-- .github/workflows/create-cherry-pick-pr.yml | 4 ++-- .github/workflows/lkg.yml | 4 ++-- .github/workflows/new-release-branch.yaml | 4 ++-- .github/workflows/pr-modified-files.yml | 2 +- .github/workflows/set-version.yaml | 4 ++-- .github/workflows/sync-branch.yaml | 4 ++-- .github/workflows/sync-wiki.yml | 2 +- .github/workflows/update-package-lock.yaml | 4 ++-- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/accept-baselines-fix-lints.yaml b/.github/workflows/accept-baselines-fix-lints.yaml index 64c0f49d91f28..ba3c917a3a535 100644 --- a/.github/workflows/accept-baselines-fix-lints.yaml +++ b/.github/workflows/accept-baselines-fix-lints.yaml @@ -30,8 +30,8 @@ jobs: - name: Configure Git, Run Tests, Update Baselines, Apply Fixes run: | - git config user.email "typescriptbot@microsoft.com" - git config user.name "TypeScript Bot" + git config user.email "290192711+typescript-automation[bot]@users.noreply.github.com" + git config user.name "typescript-automation[bot]" npm ci git rm -r --quiet tests/baselines/reference npx hereby runtests-parallel --ci --fix || true diff --git a/.github/workflows/create-cherry-pick-pr.yml b/.github/workflows/create-cherry-pick-pr.yml index a09226521daf6..d5d1d69e51c90 100644 --- a/.github/workflows/create-cherry-pick-pr.yml +++ b/.github/workflows/create-cherry-pick-pr.yml @@ -116,8 +116,8 @@ jobs: const title = `🤖 Pick PR #${PR} (${pr.data.title.substring(0, 35)}${pr.data.title.length > 35 ? "..." : ""}) into ${TARGET_BRANCH}`; - await exec.exec("git", ["config", "user.email", "typescriptbot@microsoft.com"]); - await exec.exec("git", ["config", "user.name", "TypeScript Bot"]); + await exec.exec("git", ["config", "user.email", "290192711+typescript-automation[bot]@users.noreply.github.com"]); + await exec.exec("git", ["config", "user.name", "typescript-automation[bot]"]); await exec.exec("git", ["switch", "--detach", `origin/${TARGET_BRANCH}`]); await exec.exec("git", ["switch", "-c", pickBranch]); diff --git a/.github/workflows/lkg.yml b/.github/workflows/lkg.yml index 4ac50669f600b..0673eeb9f767f 100644 --- a/.github/workflows/lkg.yml +++ b/.github/workflows/lkg.yml @@ -49,8 +49,8 @@ jobs: npm ci npx hereby LKG git add --force ./lib - git config user.email "typescriptbot@microsoft.com" - git config user.name "TypeScript Bot" + git config user.email "290192711+typescript-automation[bot]@users.noreply.github.com" + git config user.name "typescript-automation[bot]" git commit -m 'Update LKG' - uses: azure/login@532459ea530d8321f2fb9bb10d1e0bcf23869a43 # v3.0.0 with: diff --git a/.github/workflows/new-release-branch.yaml b/.github/workflows/new-release-branch.yaml index 495389f1e27df..3c858a86d3128 100644 --- a/.github/workflows/new-release-branch.yaml +++ b/.github/workflows/new-release-branch.yaml @@ -86,8 +86,8 @@ jobs: git add src/compiler/corePublic.ts git add tests/baselines/reference/api/typescript.d.ts git add --force ./lib - git config user.email "typescriptbot@microsoft.com" - git config user.name "TypeScript Bot" + git config user.email "290192711+typescript-automation[bot]@users.noreply.github.com" + git config user.name "typescript-automation[bot]" git commit -m "Bump version to $PACKAGE_VERSION and LKG" - uses: azure/login@532459ea530d8321f2fb9bb10d1e0bcf23869a43 # v3.0.0 with: diff --git a/.github/workflows/pr-modified-files.yml b/.github/workflows/pr-modified-files.yml index af4c35867d4cc..f0f873e7d427d 100644 --- a/.github/workflows/pr-modified-files.yml +++ b/.github/workflows/pr-modified-files.yml @@ -104,7 +104,7 @@ jobs: FILENAME=bot_comments.txt if [ ! -f $FILENAME ]; then gh pr view $PR_NUMBER --repo $REPO \ - --json 'comments' --jq '.comments[] | select(.author.login == "typescript-bot") | .body' > $FILENAME + --json 'comments' --jq '.comments[] | select(.author.login == "typescript-bot" or .author.login == "typescript-automation[bot]") | .body' > $FILENAME fi exec grep -Fq -m1 "$1" $FILENAME EOF diff --git a/.github/workflows/set-version.yaml b/.github/workflows/set-version.yaml index 0efbc6919b77f..9c70539bb231e 100644 --- a/.github/workflows/set-version.yaml +++ b/.github/workflows/set-version.yaml @@ -89,8 +89,8 @@ jobs: git add src/compiler/corePublic.ts git add tests/baselines/reference/api/typescript.d.ts git add --force ./lib - git config user.email "typescriptbot@microsoft.com" - git config user.name "TypeScript Bot" + git config user.email "290192711+typescript-automation[bot]@users.noreply.github.com" + git config user.name "typescript-automation[bot]" git commit -m "Bump version to $PACKAGE_VERSION and LKG" - uses: azure/login@532459ea530d8321f2fb9bb10d1e0bcf23869a43 # v3.0.0 with: diff --git a/.github/workflows/sync-branch.yaml b/.github/workflows/sync-branch.yaml index 56e70f9b50b76..6c800b278608b 100644 --- a/.github/workflows/sync-branch.yaml +++ b/.github/workflows/sync-branch.yaml @@ -58,8 +58,8 @@ jobs: # required client_payload members: # branch_name - the target branch - run: | - git config user.email "typescriptbot@microsoft.com" - git config user.name "TypeScript Bot" + git config user.email "290192711+typescript-automation[bot]@users.noreply.github.com" + git config user.name "typescript-automation[bot]" git fetch origin main git merge origin/main --no-ff npm ci diff --git a/.github/workflows/sync-wiki.yml b/.github/workflows/sync-wiki.yml index eafc2f3a2df7e..1f6da11221ed8 100644 --- a/.github/workflows/sync-wiki.yml +++ b/.github/workflows/sync-wiki.yml @@ -55,5 +55,5 @@ jobs: - name: Run sync run: ./.github/workflows/sync env: - PUSHER: typescript-bot + PUSHER: typescript-automation[bot] <290192711+typescript-automation[bot]@users.noreply.github.com> AUTH: ${{ steps.app-token.outputs.token }} diff --git a/.github/workflows/update-package-lock.yaml b/.github/workflows/update-package-lock.yaml index e1e7dc6101d36..0475fd89041b8 100644 --- a/.github/workflows/update-package-lock.yaml +++ b/.github/workflows/update-package-lock.yaml @@ -50,8 +50,8 @@ jobs: else npm test npx hereby LKG - git config user.email "typescriptbot@microsoft.com" - git config user.name "TypeScript Bot" + git config user.email "290192711+typescript-automation[bot]@users.noreply.github.com" + git config user.name "typescript-automation[bot]" git add -f package-lock.json git commit -m "Update package-lock.json" echo "changed=true" >> "$GITHUB_OUTPUT"