Skip to content

Instantly share code, notes, and snippets.

@zwaldowski
Created November 25, 2019 20:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zwaldowski/d62c9ae86078bb594d153ef354331ea0 to your computer and use it in GitHub Desktop.
Save zwaldowski/d62c9ae86078bb594d153ef354331ea0 to your computer and use it in GitHub Desktop.
name: Release checks
on:
pull_request:
branches:
- master
types:
- opened
- labeled
- unlabeled
jobs:
includes_version_bump:
name: Labels include one of 'major', 'minor', or 'patch'
runs-on: ubuntu-latest
steps:
- name: Check PR labels
uses: zwaldowski/match-label-action@v1
with:
allowed: major,minor,patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment