Skip to content

Commit

Permalink
Add cron config to GitHub Actions to run monthly
Browse files Browse the repository at this point in the history
This will make sure the tests are green even if we're not making regular change
sto the code in this repo.
  • Loading branch information
mbrukman committed Apr 23, 2024
1 parent 3e877a1 commit dc9f54b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
#
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
# │ │ │ │ │
- cron: '1 2 3 * *' # run at 2:01 every month on the 3rd day

jobs:
build:
Expand Down

0 comments on commit dc9f54b

Please sign in to comment.