Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

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

Andrey Lushnikovab4629af381e
diff --git a/.github/workflows/trigger_build_deprecated_webkit_mac_10.14.yml b/.github/workflows/trigger_build_deprecated_webkit_mac_10.14.yml
new file mode 100644
index 0000000000..25e56c3fb2
--- /dev/null
+++ b/.github/workflows/trigger_build_deprecated_webkit_mac_10.14.yml
@@ -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 }}