# 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.

```yaml
on:
  push:
    branches: [main]
  pull_request:
```

Level: Apprentice · [More GitHub Actions terms at this level](https://www.ask-codey.com/glossary?category=github-actions&level=2)

Updated: November 17, 2026

Source: https://www.ask-codey.com/glossary/push-and-pull-request
