devops: update automation Git author (#35318)

This commit is contained in:
Max Schmitt 2025-03-21 16:23:36 +01:00 committed by GitHub
parent 943a0f8636
commit b452896d4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 8 deletions

View File

@ -33,8 +33,8 @@ jobs:
- name: Cherry-pick commits - name: Cherry-pick commits
id: cherry-pick id: cherry-pick
run: | run: |
git config --global user.name github-actions git config --global user.name microsoft-playwright-automation[bot]
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com git config --global user.email 4203992400+microsoft-playwright-automation[bot]@users.noreply.github.com
for COMMIT_HASH in $(echo "${{ github.event.inputs.commit_hashes }}" | tr "," "\n"); do for COMMIT_HASH in $(echo "${{ github.event.inputs.commit_hashes }}" | tr "," "\n"); do
git cherry-pick --no-commit "$COMMIT_HASH" git cherry-pick --no-commit "$COMMIT_HASH"

View File

@ -43,8 +43,8 @@ jobs:
run: | run: |
BRANCH_NAME="roll-into-pw-${BROWSER}/${REVISION}" BRANCH_NAME="roll-into-pw-${BROWSER}/${REVISION}"
echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_OUTPUT echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_OUTPUT
git config --global user.name github-actions git config --global user.name microsoft-playwright-automation[bot]
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com git config --global user.email 4203992400+microsoft-playwright-automation[bot]@users.noreply.github.com
git checkout -b "$BRANCH_NAME" git checkout -b "$BRANCH_NAME"
git add . git add .
git commit -m "feat(${BROWSER}): roll to r${REVISION}" git commit -m "feat(${BROWSER}): roll to r${REVISION}"

View File

@ -27,8 +27,8 @@ jobs:
echo "HAS_CHANGES=1" >> $GITHUB_OUTPUT echo "HAS_CHANGES=1" >> $GITHUB_OUTPUT
BRANCH_NAME="roll-driver-nodejs/$(date +%Y-%b-%d)" BRANCH_NAME="roll-driver-nodejs/$(date +%Y-%b-%d)"
echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_OUTPUT echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_OUTPUT
git config --global user.name github-actions git config --global user.name microsoft-playwright-automation[bot]
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com git config --global user.email 4203992400+microsoft-playwright-automation[bot]@users.noreply.github.com
git checkout -b "$BRANCH_NAME" git checkout -b "$BRANCH_NAME"
git add . git add .
git commit -m "chore(driver): roll driver to recent Node.js LTS version" git commit -m "chore(driver): roll driver to recent Node.js LTS version"

View File

@ -27,8 +27,8 @@ npm ci
npm run build npm run build
# 2. Configure Git and clone the Trace Viewer repository # 2. Configure Git and clone the Trace Viewer repository
git config --global user.name github-actions git config --global user.name microsoft-playwright-automation[bot]
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com git config --global user.email 4203992400+microsoft-playwright-automation[bot]@users.noreply.github.com
git clone "https://x-access-token:${GH_SERVICE_ACCOUNT_TOKEN}@github.com/microsoft/trace.playwright.dev.git" trace.playwright.dev git clone "https://x-access-token:${GH_SERVICE_ACCOUNT_TOKEN}@github.com/microsoft/trace.playwright.dev.git" trace.playwright.dev
# 3. Copy the built Trace Viewer to the repository # 3. Copy the built Trace Viewer to the repository