Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
radical committed Aug 21, 2023
1 parent a11c000 commit 01bdd3a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/bump-chrome-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
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 &&
cat eng/testing/bump-chrome-pr.env &&
cat eng/testing/bump-chrome-pr.env >> "$GITHUB_ENV"
- name: Check for changes
Expand All @@ -49,13 +50,14 @@ jobs:
uses: actions/github-script@v6
with:
script: |
const { CHROME_LINUX_VER, CHROME_WIN_VER } = process.env
const { CHROME_LINUX_VER, CHROME_WIN_VER } = process.env;
const title=`[wasm] Bump chrome for testing - linux: ${CHROME_LINUX_VER}, windows: ${CHROME_WIN_VER}`;
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 for testing - linux: ${CHROME_LINUX_VER}, windows: ${CHROME_WIN_VER}',
title: $title,
body: ''
});
await github.rest.issues.setLabels({
Expand All @@ -68,6 +70,6 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: pullRequest.number,
reviewers: ["lewing", "pavelsavara", "maraf", "ilonatommy", "radical"]
reviewers: [ "radical"]
});
return pullRequest.number;

0 comments on commit 01bdd3a

Please sign in to comment.