Skip to content

ci: open a data-due issue each Monday when records are due - #50

Merged
hazeliscoding merged 2 commits into
mainfrom
ci/weekly-data-reminder
Oct 21, 2026
Merged

hazeliscoding merged 2 commits into
mainfrom
ci/weekly-data-reminder

Conversation

@hazeliscoding

Copy link
Copy Markdown
Owner

The weekly refresh no longer depends on remembering pnpm data:report. Every Monday at 12:30 UTC (7:30 CDT, 6:30 CST) a workflow runs the report. When anything is due now or soon, it opens an issue labeled data-due with the list and closes last week's. A quiet week opens nothing.

This does #39 differently from how it's written: an issue instead of a Discord post. The maintainer's own GitHub digest (Lain, in CozyCore) shows new issues in their Discord, so this repository holds no webhook or secret.

  • Two jobs. report runs the repository's code with contents: read and nothing else. issue has issues: write and never checks the code out. It reads the first job's outputs from environment variables and puts the report in a code block, so record names can't turn into Markdown.
  • Trigger: the "Due now" and "Due soon" headings. A week with only "When there is time" items opens nothing.
  • Manual runs: workflow_dispatch takes an optional date, to see what a later Monday will bring. The CLI rejects anything that isn't YYYY-MM-DD.
  • docs/MAINTENANCE.md and ROADMAP.md (2026-10-20) describe it.

I dry-ran both jobs locally, with a stand-in for gh:

  • today: nothing is due, so it only closes the old issue.
  • 2026-11-02: 4 items are due now and 4 soon, so it opens a new issue and closes the old one.
  • an invalid date: the run stops.

The workflow hasn't run on GitHub yet. After merging, run it once from the Actions tab with no date (quiet), then with 2026-11-02 (due).

Closes #39

@hazeliscoding
hazeliscoding merged commit f571e88 into main Oct 21, 2026
2 checks passed
@hazeliscoding
hazeliscoding deleted the ci/weekly-data-reminder branch October 21, 2026 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Weekly Discord ping when data is due

1 participant