We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 298e01e commit 04eb228Copy full SHA for 04eb228
1 file changed
.github/workflows/trigger_internal_tests.yml
@@ -0,0 +1,21 @@
1
+name: "Internal Tests"
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ - release-*
8
9
+jobs:
10
+ trigger:
11
+ name: "trigger"
12
+ runs-on: ubuntu-20.04
13
+ steps:
14
+ - run: |
15
+ curl -X POST \
16
+ -H "Accept: application/vnd.github.v3+json" \
17
+ -H "Authorization: token ${GH_TOKEN}" \
18
+ --data "{\"event_type\": \"playwright_tests_java\", \"client_payload\": {\"ref\": \"${GITHUB_SHA}\"}}" \
19
+ https://api.github.com/repos/microsoft/playwright-internal/dispatches
20
+ env:
21
+ GH_TOKEN: ${{ secrets.REPOSITORY_DISPATCH_PERSONAL_ACCESS_TOKEN }}
0 commit comments