push and pull_request
say it: “PUSH and PUL rih-KWEST” /ˈpʊʃ ənd ˈpʊl rɪˈkwɛst/
Run on pushed commits, or on pull requests before merging.
What does push and pull_request do?
push runs a workflow when commits are pushed; pull_request runs it for pull requests, so changes are checked before merging.
on:
push:
branches: [main]
pull_request:
Level: Apprentice · More GitHub Actions terms at this level
Updated