Configure Renovate #118
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Enforce PR labels (major, minor or patch) | |
on: | |
pull_request: | |
types: [labeled, unlabeled, opened, edited, synchronize] | |
jobs: | |
enforce-label: | |
name: Labels check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Looking for any (major, minor or patch) label | |
uses: yogevbd/[email protected] | |
with: | |
REQUIRED_LABELS_ANY: "major,minor,patch" | |
REQUIRED_LABELS_ANY_DESCRIPTION: "Select at least one label ['major','minor','patch']" |