actions-marketplace-validations/for-each-pr
Runs a command for each Pull Request (PR) in a set of PRs
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Oct 28, 2022
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: actions-marketplace-validations/jwalton_gh-for-each-pr@620b32fa78bd7d4a9c1ccaced46d36fe152aefc8 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| command | The command to run for each PR. | yes | — |
| github-token | The GitHub token used to create an authenticated client. Defaults to github provided token. | no | ${{ github.token }} |
| state | If provided, only PRs with the specified state will be used (e.g. "open", "closed", or "all"). Defaults to "open". | no | open |
| label | If provided, only PRs with the specified label will be used (e.g. "bugfix"). | no | — |
| author | If provided, only PRs where the author is the specified GitHub username will be used (e.g. "jwalton"). | no | — |
| baseRef | If provided, only PRs with the specified baseRef will be used (e.g. "main"). | no | — |
Outputs
no outputs