Skip to content

unnitallman/pr-auto-merge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pr-auto-merge

A Github Action that automerges pull requests if all the required checks have passed.

Usage

Create .github/workflows/pr_auto_merge.yml with the following content:

name: PR-automerge

on: 
  status:
  pull_request:
    types: [ labeled ]

jobs:
  Auto:
    name: Auto-merge
    runs-on: ubuntu-18.04
    steps:
      - uses: bigbinary/pr-auto-merge@v1.0
        if: contains(github.event.pull_request.labels.*.name, 'mergepr')
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Make sure create a token from https://github.com/settings/tokens/new and add to GITHUB_TOKEN variable in your repo's secrets.

About

A Github Action that tests the deploy status of a Heroku Review App

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Python 81.1%
  • Ruby 17.9%
  • Dockerfile 1.0%