devops: add trigger workflow to deprecated webkit builds (#5836)

This commit is contained in:
Andrey Lushnikov 2021-03-16 01:31:32 -07:00 committed by GitHub
parent 8dc740570a
commit ab4629af38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,24 @@
name: "Deprecated WebKit Mac 10.14 Builder"
on:
push:
branches:
- master
- release-*
paths:
- browser_patches/depcrecated-webkit-mac-10.14/BUILD_NUMBER
- .github/workflows/trigger_build_deprecated_webkit_mac_10.14.yml
jobs:
trigger:
name: "trigger"
runs-on: ubuntu-18.04
steps:
- run: |
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${GH_TOKEN}" \
--data '{"event_type": "build_deprecated_webkit_mac_10.14"}' \
https://api.github.com/repos/microsoft/playwright-internal/dispatches
env:
GH_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}