Skip to content

Commit

Permalink
[FIX] GitHub scheduled Actions for daily tests
Browse files Browse the repository at this point in the history
This change fixes the scheduled for each evening GitHub Actions run.

Relates: a816267
  • Loading branch information
dkd-kaehm committed Aug 30, 2024
1 parent dfcdd98 commit 5351706
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
# * run only on dev-<TYPO3-LTS-branch/alias>
# * create issue on GH or message via TYPO3 Slack bot, if tests failed
schedule:
- cron: '23 19 * * *'
- cron: '*/5 * * * *'

env:
IS_ON_GITHUB_ACTIONS: 'true'
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
-
name: Checkout current state of Branch
if: github.event_name == 'push'
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
uses: actions/checkout@v4
# End: Workaround for issue with actions/checkout...
-
Expand All @@ -53,7 +53,7 @@ jobs:
echo "BRANCH_NAME=${{ github.event.pull_request.base.ref }}" >> $GITHUB_ENV
-
name: "Resolve branch name on push in branch of repository."
if: github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')
if: ${{ !startsWith(github.ref, 'refs/tags/') && (github.event_name == 'push' || github.event_name == 'schedule') }}
run: |
echo "BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
-
Expand Down

0 comments on commit 5351706

Please sign in to comment.