phealy / webhook-pipelines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cross-repository GitHub pull request status check pipeline

This pipeline is designed to be triggered using an Azure Pipelines Incoming Webhook Service Connection from a GitHub repository based on a pull-request webhook. It will only act on actions that indicate code was changed, and will run one or more checkout tasks on the pull request head branch. It will then use the Azure Pipelines PAT to post a commit status back to GitHub, which allows it to be used as a protected branch check for pull requests.

NOTE: you must manually trigger this pipeline once to register the webhook before GitHub can trigger it.

See the pipeline file for more information; it has inline comments.

Documentation:

About