tesseract icon indicating copy to clipboard operation
tesseract copied to clipboard

CI: Don't run a daily job when no commit was pushed in the last 24 hours

Open amitdo opened this issue 2 years ago • 2 comments

Although it's a free service, we might still care about the waste of power consumption.

https://github.community/t/trigger-action-on-schedule-only-if-there-are-changes-to-the-branch/17887/4

amitdo avatar Feb 16 '22 20:02 amitdo

We should, indeed. Even if there was a commit it might be unnecessary to run GitHub actions, for example if only the README was updated.

stweil avatar Mar 28 '22 07:03 stweil

Should we use @CfirTsabari's snippet (see link above)?

amitdo avatar Mar 28 '22 14:03 amitdo