-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into vm-host-upgrade
- Loading branch information
Showing
455 changed files
with
12,186 additions
and
4,449 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: Update Chrome Version used for wasm testing | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * 0' | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
update: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup Branch | ||
run: | | ||
git config user.name github-actions[bot] | ||
git config user.email github-actions[bot]@users.noreply.github.com | ||
git checkout -b update-chrome-version-${{ github.run_id }} | ||
- name: Run UpdateToLatestVersion | ||
run: >- | ||
make -C src/mono/wasm build-tasks && | ||
.dotnet/dotnet build eng/testing/bump-chrome-version.proj -p:Configuration=Release && | ||
git add eng/testing/ChromeVersions.props | ||
- name: Check for changes | ||
id: check_changes | ||
run: | | ||
echo "has_changes=$(git diff-index --quiet HEAD && echo false || echo true)" >> $GITHUB_OUTPUT | ||
- name: Commit Update | ||
run: | | ||
echo steps.check_changes.outputs.has_changes=${{steps.check_changes.outputs.has_changes}} | ||
if ${{steps.check_changes.outputs.has_changes}} == 'true'; then | ||
git commit -m "Automated bump of chrome version" | ||
git push --set-upstream origin update-chrome-version-${{ github.run_id }} | ||
else | ||
echo "No changes detected." | ||
fi | ||
- name: Create PR | ||
if: steps.check_changes.outputs.has_changes == 'true' | ||
uses: actions/github-script@v6 | ||
with: | ||
script: | | ||
const { data: pullRequest } = await github.rest.pulls.create({ | ||
base: context.ref, | ||
head: "update-chrome-version-${{ github.run_id }}", | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
title: '[wasm] Bump chrome version used for testing', | ||
body: '' | ||
}); | ||
await github.rest.pulls.requestReviewers({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
pull_number: pullRequest.number, | ||
reviewers: ["radical"] | ||
}); | ||
return pullRequest.number; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ schedules: | |
- main | ||
- release/6.0 | ||
- release/7.0 | ||
- release/8.0 | ||
|
||
variables: | ||
- template: ../variables.yml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ schedules: | |
- main | ||
- release/6.0 | ||
- release/7.0 | ||
- release/8.0 | ||
|
||
variables: | ||
- template: ../variables.yml | ||
|
Oops, something went wrong.