mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
23 lines
596 B
YAML
23 lines
596 B
YAML
|
name: "Internal Tests"
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
- release-*
|
||
|
|
||
|
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": "playwright_tests", "client_payload": {"foo": "${GH_REF}"}}' \
|
||
|
https://api.github.com/repos/microsoft/playwright-internal/dispatches
|
||
|
env:
|
||
|
GH_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}
|
||
|
GH_REF: ${{ github.ref }}
|