Skip to content

Commit 556b5d3

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 ed561a6 commit 556b5d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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
-
@@ -130,7 +130,7 @@ jobs:
130130
ref: ${{ github.event.pull_request.head.sha }}
131131
-
132132
name: Checkout current state of Branch
133-
if: github.event_name == 'push'
133+
if: ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
134134
uses: actions/checkout@v4
135135
with:
136136
fetch-depth: 2

0 commit comments

Comments
 (0)