diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index 86b7f43..024c0dd 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -28,6 +28,9 @@ name: canary on: schedule: - cron: "41 6 * * *" + # Mondays only: the paid job (scraper-api) runs on this + # schedule (each run bills); the free jobs keep the daily one above. + - cron: "41 6 * * 1" workflow_dispatch: permissions: @@ -213,6 +216,8 @@ jobs: scraper-api: name: the paid path (fails without TWOCAPTCHA_KEY) + # Paid path: weekly schedule or a manual dispatch only. + if: github.event_name != 'schedule' || github.event.schedule == '41 6 * * 1' runs-on: ubuntu-latest timeout-minutes: 10 env: diff --git a/CHANGELOG.md b/CHANGELOG.md index 60c3ce4..c8760ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,11 @@ in one, the note leads with it. ## [Unreleased] +### Changed + +- CI only: the canary's paid `scraper-api` job now runs weekly (Mondays 06:41 + UTC) and on a manual dispatch; the free `profiles` job still runs daily. + ## [0.3.0] — 2026-10-15 > **Negative counts and delays are now usage errors.** `--retries`, diff --git a/README.md b/README.md index e87fb32..78feffd 100644 --- a/README.md +++ b/README.md @@ -297,7 +297,8 @@ username that does not exist, a Spotlight run, and one profile through a local browser (`--transport browser`) so the fallback transport is tested too. None of that needs a secret. -A second job runs the paid Scraper API path and needs a `TWOCAPTCHA_KEY` +A second job runs the paid Scraper API path, weekly (Mondays) and on a +manual dispatch because each run bills, and needs a `TWOCAPTCHA_KEY` repository secret. Without it that job fails with an error naming the secret rather than skipping green, because a skipped job is not a tested path.