Triggers

GitHub Pull Request

Triggers when a GitHub pull request event is received.

Category: Triggers · Plans: Trial, Pro, Premium, Enterprise · Type: GitHubPRTrigger · Beta · Trigger

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryChoiceNo(empty)GitHub repository to watch for pull request events.
Event ActionTextNo—Which PR actions trigger the flow. Options: opened, closed, merged, reopened, synchronize, edited, ready_for_review
Branch FilterTextNo(empty)Only trigger for PRs targeting this base branch (glob pattern, e.g. main, release/*).

Outputs#

OutputType
ActionAny
Pr NumberAny
Pr TitleAny
Pr BodyAny
Pr UrlAny
Pr Diff UrlAny
AuthorAny
Base BranchAny
Head BranchAny
Repo Full NameAny
Is DraftAny
LabelsAny
MergedAny
Raw PayloadAny