Generate and publish X posts for openai/codex releases.
If multiple public releases appear between checks, script outputs all unseen releases from oldest to newest.
bun run index.ts- workflow:
.github/workflows/hourly.yml - schedule: hourly (
0 * * * *) + manual trigger index.tsgenerates, publishes to X, and updates state in one run- commits
.state/last_posted_tag.txtwhen changed - CI uses Claude CLI for post generation
Required secrets:
CLAUDE_CODE_OAUTH_TOKENX_API_KEYX_API_SECRETX_ACCESS_TOKENX_ACCESS_TOKEN_SECRET
- none. single-purpose command.
- default: post generated by local
claudeCLI - style: multiline summary with line-level emojis + changelog link
- claude-only mode (fails loud on invalid/empty output)
- stdout: final posted text only
Default: .state/last_posted_tag.txt
- script skips output when state tag matches latest tag
- script backfills all unseen releases between
state tag -> latest - script writes tag only after successful post publish