Skip to content

Commit df5ee26

Browse files
committed
Only run e2e on deployed main
1 parent d8a0554 commit df5ee26

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/endform-tests-on-main.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,22 @@ on:
77

88
jobs:
99
e2e-tests:
10+
if: github.event.client_payload.git.ref == 'main'
1011
timeout-minutes: 5
1112
runs-on: ubuntu-latest
13+
permissions:
14+
actions: read
15+
statuses: write
16+
contents: read
1217
steps:
18+
- name: Vercel Repository Dispatch Debug
19+
uses: vercel/repository-dispatch/actions/debug@v1
20+
21+
- name: With Commit Status
22+
uses: vercel/repository-dispatch/actions/status@v1
23+
with:
24+
github_token: ${{ secrets.GITHUB_TOKEN }}
25+
1326
- name: Checkout code
1427
uses: actions/checkout@v4
1528
with:

0 commit comments

Comments
 (0)