Skip to content

A GitHub app that prevents from accidentally merging a pull request which depends on another pull request.

License

Notifications You must be signed in to change notification settings

many-things/check-mergeable

 
 

Repository files navigation

Check Mergeable

Prevent from accidentally merging a pull request which depends on another pull request.

Features

If the pull request is not targeting the main branch,

  • 🔖 Adds status: dependent label to the pull request.

    label
  • ⏳ Sets pull request status as pending.

    status

Installation

Go to the app page and install the app.

Configuration

This app is not currently configurable. The values are hardcoded:

  • Target branch allowlist: main, develop, release/*, hotfix/*
  • Custom labels: status: dependent
  • Custom labels to manually set pending state: status: pending, status: in-progress, status: in-review*

Development

Vercel

This app is running on Vercel using Serverless Functions.

Environment Variables

  • APP_ID
  • PRIVATE_KEY
  • WEBHOOK_SECRET

You'll be able to find the values in check-mergeable app settings. (PocketLesson members only!)

Useful Resources

License

check-mergeable is under ISC license. See the LICENSE file for more info.

About

A GitHub app that prevents from accidentally merging a pull request which depends on another pull request.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 88.0%
  • HTML 5.2%
  • Shell 3.8%
  • Dockerfile 3.0%