devops: #8253 follow-up fixes

This commit is contained in:
Max Schmitt 2021-08-17 14:32:53 +02:00
parent e92924221a
commit e72e49ecc4
2 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,8 @@ jobs:
node-version: 14
- run: npm ci
- run: npm run build
- run: Install dependencies
- run: node lib/cli/cli install-deps
- name: Roll to new revision
run: |
./utils/roll_browser.js ${{ github.event.client_payload.browser }} ${{ github.event.client_payload.revision }}

View File

@ -407,7 +407,7 @@ function create_roll_into_playwright_pr {
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${GH_TOKEN}" \
--data '{"event_type": "roll_into_pw", "client_payload": {"browser": "'"$1"'", "revision": "'"$1"'"}}' \
--data '{"event_type": "roll_into_pw", "client_payload": {"browser": "'"$1"'", "revision": "'"$2"'"}}' \
https://api.github.com/repos/microsoft/playwright/dispatches
}