Skip to content

Commit

Permalink
devops: auto add CQ1 label to browser rolls (#14228)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt committed May 17, 2022
1 parent 7217211 commit 79559ae
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/roll_browser_into_playwright.yml
Expand Up @@ -38,10 +38,16 @@ jobs:
with:
github-token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
script: |
await github.pulls.create({
const response = await github.pulls.create({
owner: 'microsoft',
repo: 'playwright',
head: 'microsoft:${{ steps.prepare-branch.outputs.BRANCH_NAME }}',
base: 'main',
title: 'feat(${{ github.event.client_payload.browser }}): roll to r${{ github.event.client_payload.revision }}',
});
await github.issues.addLabels({
owner: 'microsoft',
repo: 'playwright',
issue_number: response.data.number,
labels: ['CQ1'],
});

0 comments on commit 79559ae

Please sign in to comment.