Skip to content

A GitHub action which labels a PR according to reviews

License

Notifications You must be signed in to change notification settings

planningcenter/plus-one-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plus One Action

This is a GitHub action that adds +1 and +2 labels to a Pull Request based on review approval.

Sample config, place in .github/workflows/plusone.yml

name: Plus one

on:
  pull_request:
    types: [review_request_removed, review_requested]
  pull_request_review:
    types: [dismissed, submitted]

jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: planningcenter/plus-one-action@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Copyright & License

Copyright (c) Planning Center, licensed MIT. See LICENSE file in this repo.