- Choose between GitHub Actions, local cron, loops, and agentic tasks.
- Avoid automations that write without human review.
- Design a PR review workflow that beginners can replicate.
What to Use
- GitHub Actions: tests, build, lint, deploy, repeatable tasks without open-ended criteria.
- Local cron or VPS: private tasks that need files or services on your machine.
- Loop: time-based monitoring with a clear stop condition.
- Scheduled agent: investigate, summarize, comment on PRs, or prepare drafts.
name: ai-pr-check
on:
pull_request:
types: [opened, synchronize]
jobs:
deterministic-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: npm run lint
- run: npm test -- --runInBand