Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 715 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 715 Bytes

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.