Skip to content

Commit 357a05c

Browse files
committed
fix cypress cron branch, interval
1 parent 3d3d9ad commit 357a05c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/cypress.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ on:
77
branches: [ 'main', 'stable-*', 'feature/*' ]
88
push:
99
branches: [ 'main', 'stable-*', 'feature/*' ]
10-
# daily on main
10+
# weekly on stable-4.7
1111
schedule:
12-
- cron: '30 5 * * *'
12+
- cron: '30 5 * * 1'
1313

1414
concurrency:
1515
group: cypress-${{ github.ref }}
@@ -19,8 +19,8 @@ jobs:
1919
cypress:
2020
runs-on: ubuntu-latest
2121
env:
22-
# base of a PR, or pushed-to branch outside PRs, or main
23-
BRANCH: ${{ github.base_ref || github.ref || 'refs/heads/main' }}
22+
# base of a PR, or pushed-to branch outside PRs, or stable-4.7
23+
BRANCH: ${{ github.base_ref || github.ref || 'refs/heads/stable-4.7' }}
2424

2525
strategy:
2626
fail-fast: false

0 commit comments

Comments
 (0)