Skip to content

Rotate keydates PATs (models:read + data bot) #32

Description

@sparkyfen

Tracking issue for the two Sparky-owned fine-grained PATs used by the key-dates automation. GitHub has no native issue reminders, so this issue is the durable tracker; when the PATs are created, add a scheduled workflow (or droplet cron) that comments here ~2 weeks before expiry so it surfaces in notifications.

The tokens

PAT Permissions Lives Expires
keydates-models account-level Models: read, no repo access droplet, worker env file (chmod 600) TBD - fill in at creation
keydates-data-bot consfyi/data Contents + Pull requests write droplet, worker env file / git credential file TBD - fill in at creation

Rotation runbook

  1. Create the replacement PAT in GitHub settings (same scopes, new expiry).
  2. Swap it into the droplet env/credential file; chmod 600.
  3. Verify: worker DRY_RUN=1 --series eurofurence exits 0 (models PAT); GH_TOKEN=<new> gh api repos/consfyi/data --jq .permissions shows push: true (data PAT).
  4. Revoke the old PAT.
  5. Update the expiry column above and the reminder schedule.

While you're here

  • Confirm telegram_dry_run is in the intended state.
  • Check /health and recent bot PR cadence look normal.

Context: HANDOFF-keydates.md / CHANGE-keydates-deploy.md in Sparky's workspace.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions