Skip to content

Commit 281712b

Browse files
authored
[TASK] Run tests nightly (#5998)
* [TASK] Run tests nightly Releases: main, 13.4, 12.4 * [TASK] Run tests nightly Releases: main, 13.4, 12.4
1 parent d409121 commit 281712b

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/test-documentation.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
name: test documentation
22

3-
on: [ push, pull_request ]
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: "0 3 * * *" # every day at 03:00 UTC
48

59
jobs:
610
tests:
11+
# Run always on push/PR, but only run on schedule in the main repo
12+
if: github.event_name != 'schedule' || github.repository == 'TYPO3-Documentation/TYPO3CMS-Reference-CoreApi'
713
name: documentation
814
runs-on: ubuntu-latest
915
steps:

.github/workflows/tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@ name: tests
33
on:
44
push:
55
pull_request:
6+
schedule:
7+
- cron: "0 3 * * *" # every day at 03:00 UTC
68

79
jobs:
810
lint:
11+
# Run always on push/PR, but only run on schedule in the main repo
12+
if: github.event_name != 'schedule' || github.repository == 'TYPO3-Documentation/TYPO3CMS-Reference-CoreApi'
913
name: Linting
1014
runs-on: ubuntu-latest
1115
strategy:
@@ -22,6 +26,8 @@ jobs:
2226
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s lint
2327

2428
quality:
29+
# Run always on push/PR, but only run on schedule in the main repo
30+
if: github.event_name != 'schedule' || github.repository == 'TYPO3-Documentation/TYPO3CMS-Reference-CoreApi'
2531
name: Quality
2632
runs-on: ubuntu-latest
2733
env:

0 commit comments

Comments
 (0)