Skip to content

Commit 49fb65b

Browse files
committed
[FIX] GitHub scheduled Actions for daily tests
This change fixes the scheduled for each evening GitHub Actions run. Relates: a816267
1 parent dfcdd98 commit 49fb65b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
# * run only on dev-<TYPO3-LTS-branch/alias>
1414
# * create issue on GH or message via TYPO3 Slack bot, if tests failed
1515
schedule:
16-
- cron: '23 19 * * *'
16+
- cron: '*/5 * * * *'
1717

1818
env:
1919
IS_ON_GITHUB_ACTIONS: 'true'
@@ -43,7 +43,7 @@ jobs:
4343
ref: ${{ github.event.pull_request.head.sha }}
4444
-
4545
name: Checkout current state of Branch
46-
if: github.event_name == 'push'
46+
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
4747
uses: actions/checkout@v4
4848
# End: Workaround for issue with actions/checkout...
4949
-
@@ -53,7 +53,7 @@ jobs:
5353
echo "BRANCH_NAME=${{ github.event.pull_request.base.ref }}" >> $GITHUB_ENV
5454
-
5555
name: "Resolve branch name on push in branch of repository."
56-
if: github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')
56+
if: ${{ !startsWith(github.ref, 'refs/tags/') && (github.event_name == 'push' || github.event_name == 'schedule') }}
5757
run: |
5858
echo "BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
5959
-
@@ -129,7 +129,7 @@ jobs:
129129
ref: ${{ github.event.pull_request.head.sha }}
130130
-
131131
name: Checkout current state of Branch
132-
if: github.event_name == 'push'
132+
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
133133
uses: actions/checkout@v4
134134
with:
135135
fetch-depth: 2

0 commit comments

Comments
 (0)