devops: update automation Git author (#35318)
This commit is contained in:
parent
943a0f8636
commit
b452896d4a
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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}"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue