Skip to content

Commit cbff985

Browse files
committed
Update git identity from typescript-bot to typescript-automation[bot]
1 parent 345012d commit cbff985

9 files changed

Lines changed: 16 additions & 16 deletions

.github/workflows/accept-baselines-fix-lints.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030

3131
- name: Configure Git, Run Tests, Update Baselines, Apply Fixes
3232
run: |
33-
git config user.email "typescriptbot@microsoft.com"
34-
git config user.name "TypeScript Bot"
33+
git config user.email "290192711+typescript-automation[bot]@users.noreply.github.com"
34+
git config user.name "typescript-automation[bot]"
3535
npm ci
3636
git rm -r --quiet tests/baselines/reference
3737
npx hereby runtests-parallel --ci --fix || true

.github/workflows/create-cherry-pick-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ jobs:
116116
117117
const title = `🤖 Pick PR #${PR} (${pr.data.title.substring(0, 35)}${pr.data.title.length > 35 ? "..." : ""}) into ${TARGET_BRANCH}`;
118118
119-
await exec.exec("git", ["config", "user.email", "typescriptbot@microsoft.com"]);
120-
await exec.exec("git", ["config", "user.name", "TypeScript Bot"]);
119+
await exec.exec("git", ["config", "user.email", "290192711+typescript-automation[bot]@users.noreply.github.com"]);
120+
await exec.exec("git", ["config", "user.name", "typescript-automation[bot]"]);
121121
await exec.exec("git", ["switch", "--detach", `origin/${TARGET_BRANCH}`]);
122122
await exec.exec("git", ["switch", "-c", pickBranch]);
123123

.github/workflows/lkg.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ jobs:
4949
npm ci
5050
npx hereby LKG
5151
git add --force ./lib
52-
git config user.email "typescriptbot@microsoft.com"
53-
git config user.name "TypeScript Bot"
52+
git config user.email "290192711+typescript-automation[bot]@users.noreply.github.com"
53+
git config user.name "typescript-automation[bot]"
5454
git commit -m 'Update LKG'
5555
- uses: azure/login@532459ea530d8321f2fb9bb10d1e0bcf23869a43 # v3.0.0
5656
with:

.github/workflows/new-release-branch.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ jobs:
8686
git add src/compiler/corePublic.ts
8787
git add tests/baselines/reference/api/typescript.d.ts
8888
git add --force ./lib
89-
git config user.email "typescriptbot@microsoft.com"
90-
git config user.name "TypeScript Bot"
89+
git config user.email "290192711+typescript-automation[bot]@users.noreply.github.com"
90+
git config user.name "typescript-automation[bot]"
9191
git commit -m "Bump version to $PACKAGE_VERSION and LKG"
9292
- uses: azure/login@532459ea530d8321f2fb9bb10d1e0bcf23869a43 # v3.0.0
9393
with:

.github/workflows/pr-modified-files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
FILENAME=bot_comments.txt
105105
if [ ! -f $FILENAME ]; then
106106
gh pr view $PR_NUMBER --repo $REPO \
107-
--json 'comments' --jq '.comments[] | select(.author.login == "typescript-bot") | .body' > $FILENAME
107+
--json 'comments' --jq '.comments[] | select(.author.login == "typescript-bot" or .author.login == "typescript-automation[bot]") | .body' > $FILENAME
108108
fi
109109
exec grep -Fq -m1 "$1" $FILENAME
110110
EOF

.github/workflows/set-version.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ jobs:
8989
git add src/compiler/corePublic.ts
9090
git add tests/baselines/reference/api/typescript.d.ts
9191
git add --force ./lib
92-
git config user.email "typescriptbot@microsoft.com"
93-
git config user.name "TypeScript Bot"
92+
git config user.email "290192711+typescript-automation[bot]@users.noreply.github.com"
93+
git config user.name "typescript-automation[bot]"
9494
git commit -m "Bump version to $PACKAGE_VERSION and LKG"
9595
- uses: azure/login@532459ea530d8321f2fb9bb10d1e0bcf23869a43 # v3.0.0
9696
with:

.github/workflows/sync-branch.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ jobs:
5858
# required client_payload members:
5959
# branch_name - the target branch
6060
- run: |
61-
git config user.email "typescriptbot@microsoft.com"
62-
git config user.name "TypeScript Bot"
61+
git config user.email "290192711+typescript-automation[bot]@users.noreply.github.com"
62+
git config user.name "typescript-automation[bot]"
6363
git fetch origin main
6464
git merge origin/main --no-ff
6565
npm ci

.github/workflows/sync-wiki.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ jobs:
5555
- name: Run sync
5656
run: ./.github/workflows/sync
5757
env:
58-
PUSHER: typescript-bot <bot@typescriptlang.org>
58+
PUSHER: typescript-automation[bot] <290192711+typescript-automation[bot]@users.noreply.github.com>
5959
AUTH: ${{ steps.app-token.outputs.token }}

.github/workflows/update-package-lock.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ jobs:
5050
else
5151
npm test
5252
npx hereby LKG
53-
git config user.email "typescriptbot@microsoft.com"
54-
git config user.name "TypeScript Bot"
53+
git config user.email "290192711+typescript-automation[bot]@users.noreply.github.com"
54+
git config user.name "typescript-automation[bot]"
5555
git add -f package-lock.json
5656
git commit -m "Update package-lock.json"
5757
echo "changed=true" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)