Skip to content

Commit 234a6dc

Browse files
authored
Merge pull request #672 from Harbour-Enterprises/tests/e2e-suite
feat: trigger superdoc-tests
2 parents 7495195 + 19facd4 commit 234a6dc

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

.github/workflows/pull-request.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Pull-request to main
22

33
on:
44
pull_request:
5-
branches: ["main"]
5+
branches: ["develop", "main"]
66

77
jobs:
88
pre-commit:
@@ -13,3 +13,18 @@ jobs:
1313

1414
run-e2e-tests:
1515
uses: ./.github/workflows/run-e2e-tests.yml
16+
17+
trigger-superdoc-tests:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Trigger workflow dispatch
21+
run: |
22+
curl -L \
23+
-X POST \
24+
-H "Accept: application/vnd.github+json" \
25+
-H "Authorization: Bearer ${{ secrets.SD_TESTS_TOKEN }}" \
26+
-H "X-GitHub-Api-Version: 2022-11-28" \
27+
-d '{"ref": "main", "inputs": {"superdoc-branch": "${{ github.head_ref }}"}}' \
28+
${{ secrets.SD_TESTS_URL }}
29+
30+

0 commit comments

Comments
 (0)