Skip to content

Commit

Permalink
[ACTIONS] Run cron validation in bash
Browse files Browse the repository at this point in the history
  • Loading branch information
darthcloud committed Dec 16, 2024
1 parent 098f982 commit 896283a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
submodules: recursive
fetch-depth: 0
- name: Cron needed check
shell: bash
if: github.event_name == 'schedule'
run: if [[ "$(git log --oneline --since '24 hours ago' | wc -l)" == "0" ]]; then gh run cancel ${{ github.run_id }}; gh run watch ${{ github.run_id }}; fi
env:
Expand Down

0 comments on commit 896283a

Please sign in to comment.