Trigger on pull requests for review pipelines.
Section: Workflow skeleton
Run on pull requests
yaml
yaml
on:
pull_request:
branches: [main]Explanation
This is common for lint, test, and build validation before merging.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Workflow skeleton