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 ed561a6 commit 556b5d3
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 @@ -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 Expand Up @@ -130,7 +130,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
with:
fetch-depth: 2
Expand Down

0 comments on commit 556b5d3

Please sign in to comment.