Skip to content

Build your personal knowledge base with Trilium Notes

chore(ci): change playwright triggering conditions

Elian Doranab2a4d741d9d
diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml
index 467190be66..07b096215f 100644
--- a/.github/workflows/playwright.yml
+++ b/.github/workflows/playwright.yml
@@ -1,9 +1,9 @@
name: Playwright Tests
on:
push:
- branches: [ main, master ]
+ branches: [ develop ]
pull_request:
- branches: [ main, master ]
+ branches: [ develop ]
jobs:
test:
timeout-minutes: 60
@@ -20,7 +20,7 @@ jobs:
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v4
- if: always()
+ if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/