From d48489eeb0e8324c1f10692a3e00a8e2cd76b615 Mon Sep 17 00:00:00 2001 From: jehrr <79864894+jehrr@users.noreply.github.com> Date: Fri, 16 Oct 2026 11:26:35 +0000 Subject: [PATCH] Run the canary's paid job weekly; free jobs stay daily Paid canary paths (proxy, Scraping Browser, captcha) run weekly on Mondays; free paths keep their daily schedule. A manual dispatch runs everything. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01CKsd7q25N19WzUZjrAdzx8 --- .github/workflows/canary.yml | 8 +++++++- CHANGELOG.md | 5 +++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index a138f9d..34fa693 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -10,7 +10,8 @@ # `/jobs/{id}-{slug}`, three times out of three. # # A GitHub runner is a datacenter address, so the job that checks real data -# (`listing`) runs through the WELLFOUND_PROXY secret: +# (`listing`) runs through the WELLFOUND_PROXY secret. Every run bills the +# proxy, so `listing` runs weekly (Mondays) and on a manual dispatch only: # # gh secret set WELLFOUND_PROXY --repo 2scraper/wellfound-scraper # @@ -40,6 +41,9 @@ on: # 05:40 UTC. Not on the hour: every scheduled workflow on GitHub fires at # :00 and the queue there is long. - cron: "40 5 * * *" + # Mondays only: the paid job (listing) runs on this + # schedule (each run bills); the free jobs keep the daily one above. + - cron: "40 5 * * 1" workflow_dispatch: permissions: @@ -48,6 +52,8 @@ permissions: jobs: listing: name: role listing (needs the WELLFOUND_PROXY secret) + # Paid path: weekly schedule or a manual dispatch only. + if: github.event_name != 'schedule' || github.event.schedule == '40 5 * * 1' runs-on: ubuntu-latest timeout-minutes: 25 env: diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a437f9..5467a3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,11 @@ does it leads the release notes rather than being discovered from a bill. ## [Unreleased] +### Changed + +- CI only: the canary's paid `listing` job now runs weekly (Mondays 05:40 UTC) + and on a manual dispatch; the free `datacentre` job still runs daily. + ## [0.2.1] — 2026-10-16 > **Behaviour change.** `--allow-empty` now writes an empty file only for a