Skip to content

Commit f4b786b

Browse files
authored
devops: link the browser build commit in roll PRs (#41340)
1 parent 843f566 commit f4b786b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/roll_browser_into_playwright.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ env:
88
BROWSER: ${{ github.event.client_payload.browser }}
99
REVISION: ${{ github.event.client_payload.revision }}
1010
BROWSER_VERSION: ${{ github.event.client_payload.browserVersion }}
11+
BUILD_LINK: ${{ github.event.client_payload.buildLink }}
1112

1213
permissions:
1314
contents: write
@@ -62,12 +63,15 @@ jobs:
6263
with:
6364
github-token: ${{ steps.app-token.outputs.token }}
6465
script: |
66+
const buildLink = process.env.BUILD_LINK;
67+
const body = buildLink ? `Browser build: ${buildLink}. Build has full platform coverage - check that all tests pass there.` : undefined;
6568
const response = await github.rest.pulls.create({
6669
owner: 'microsoft',
6770
repo: 'playwright',
6871
head: 'microsoft:${{ steps.prepare-branch.outputs.BRANCH_NAME }}',
6972
base: 'main',
7073
title: 'feat(${{ env.BROWSER }}): roll to r${{ env.REVISION }}',
74+
body,
7175
});
7276
await github.rest.issues.addLabels({
7377
owner: 'microsoft',

0 commit comments

Comments
 (0)