Skip to content

review-bots/close-pr-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

close-pr-example

This is a working example of how you could use the Label Bot.

Scenario

You want to ensure everyone creates small Pull Requests.

So, you could create a Github workflow that will automatically close too large PRs.

Setup

  1. Install the Label Bot application.
  2. Create .github/workflows/close-pr.yaml to automatically close Pull Requests.

This example closes XL Pull Requests, but you could change the conditions or use other labels for your workflow.

Example Pull Request

Pull Request #5 shows what happens when a PR is labelled with size/XL.

Releases

No releases published

Packages

No packages published