Skip to content

Commit

Permalink
[CARE-1683] Use ref_name to skip E2E tests on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
riffbyte committed Aug 7, 2023
1 parent f229fbf commit b90e3f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:

jobs:
test:
# We are explicitly excluding `main` branch from E2E tests: CARE-1683
if: github.ref_name != 'main'

uses: prezly/theme-kit-js/.github/workflows/playwright.shared.yml@main
with:
site-name: 'Preview Env'
Expand Down

3 comments on commit b90e3f2

@vercel
Copy link

@vercel vercel bot commented on b90e3f2 Aug 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on b90e3f2 Aug 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on b90e3f2 Aug 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.