ci: post a reminder for updated paths

docs are the first example

Assisted-by: Oh My Pi (Claude Opus 5)
This commit is contained in:
Johannes Kirschbauer
2026-09-13 16:26:06 +02:00
parent 815d65cd24
commit 40bb73107d
7 changed files with 193 additions and 1 deletions

View File

@@ -127,4 +127,15 @@ program
await run(checkManualFileEdits, owner, repo, pr, options)
})
program
.command('reminders')
.description('Post reminders for the paths a PR touches')
.argument('<owner>', 'Owner of the GitHub repository to run on (Example: NixOS)')
.argument('<repo>', 'Name of the GitHub repository to run on (Example: nixpkgs)')
.argument('<pr>', 'Number of the Pull Request to run on')
.action(async (owner, repo, pr, options) => {
const postReminders = (await import('./reminders.ts')).default
await run(postReminders, owner, repo, pr, options)
})
await program.parse()