devops: #8253 follow-up fixes
This commit is contained in:
parent
e92924221a
commit
e72e49ecc4
|
|
@ -14,6 +14,8 @@ jobs:
|
||||||
node-version: 14
|
node-version: 14
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
|
- run: Install dependencies
|
||||||
|
- run: node lib/cli/cli install-deps
|
||||||
- name: Roll to new revision
|
- name: Roll to new revision
|
||||||
run: |
|
run: |
|
||||||
./utils/roll_browser.js ${{ github.event.client_payload.browser }} ${{ github.event.client_payload.revision }}
|
./utils/roll_browser.js ${{ github.event.client_payload.browser }} ${{ github.event.client_payload.revision }}
|
||||||
|
|
|
||||||
|
|
@ -407,7 +407,7 @@ function create_roll_into_playwright_pr {
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
-H "Accept: application/vnd.github.v3+json" \
|
-H "Accept: application/vnd.github.v3+json" \
|
||||||
-H "Authorization: token ${GH_TOKEN}" \
|
-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
|
https://api.github.com/repos/microsoft/playwright/dispatches
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue