We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f31b310 commit 1dfdebcCopy full SHA for 1dfdebc
.github/workflows/playwright-scheduled.yml
@@ -1,7 +1,8 @@
1
name: Scheduled Playwright Tests
2
on:
3
schedule:
4
- - cron: '0 * * * *'
+ # Every Monday at 12:00 UTC
5
+ - cron: '0 12 * * 1'
6
jobs:
7
test:
8
timeout-minutes: 5
@@ -20,17 +21,17 @@ jobs:
20
21
- name: Run Playwright tests
22
run: yarn playwright test
23
- - name: Notify Slack
24
- if: always()
+ - name: Notify Slack On Failure
25
+ if: failure()
26
uses: slackapi/[email protected]
27
with:
28
payload: |
29
{
30
"channel": "feed-packages",
31
"attachments": [
32
- "color": "#000000",
33
- "text": "gk-browser-extension ran scheduled tests"
+ "color": "#ff0000",
34
+ "text": "gk-browser-extension scheduled Playwright tests failed"
35
}
36
]
37
0 commit comments