Cloudflare D1 Weekly Backup Via Pr

Set up an automated weekly Cloudflare D1 backup workflow via GitHub Actions that exports the production database and opens a pull request adding the backup file to the repo. Covers the GitHub Actions "create-pull-request not permitted" gotcha that breaks every fresh repo's first PR-creating workflow, the cron schedule timezone conversion (UTC vs JST), the wrangler d1 export path-relativity quirk in monorepos, the explicit decision to track backups in git (with the failure modes that lead to it), and the existing CLOUDFLARE_API_TOKEN reuse pattern (no new secrets required).

okayus Updated

File contents

okayus/okayus-skills/tree/main/skills/cloudflare-d1-weekly-backup-via-pr commit 49aacc67cc

Frequently asked questions

npx skillmds@latest add okayus/cloudflare-d1-weekly-backup-via-pr