From a63355077a30f4230d113c90811b64d30ce313c2 Mon Sep 17 00:00:00 2001 From: teahubxyz Date: Sat, 10 Oct 2026 19:33:33 -0700 Subject: [PATCH] time v0: .github/workflows/heartbeat.yml --- .github/workflows/heartbeat.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/heartbeat.yml diff --git a/.github/workflows/heartbeat.yml b/.github/workflows/heartbeat.yml new file mode 100644 index 0000000..256b3e1 --- /dev/null +++ b/.github/workflows/heartbeat.yml @@ -0,0 +1,25 @@ +name: heartbeat +# Time's clock: every 15 min, look at `ready` issues and dispatch (dry-run until TIME_MODE=live). +on: + schedule: + - cron: "7,22,37,52 * * * *" + workflow_dispatch: +permissions: + contents: read + issues: write +concurrency: + group: heartbeat + cancel-in-progress: false +jobs: + tick: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v4 + with: + sparse-checkout: .github/time + - run: python3 .github/time/time.py heartbeat + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TIME_MODE: ${{ vars.TIME_MODE }} + TIME_DAILY_CAP: ${{ vars.TIME_DAILY_CAP }}