Skip to content

Feature/new release flow #1

Feature/new release flow

Feature/new release flow #1

Workflow file for this run

name: CheckLabel
on:
pull_request:
branches:
- master
label:
types:
- created
- edited
- labeled
- unlabeled
jobs:
check_label:
name: Check Label
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- name: Check required label
if: (!contains(github.event.pull_request.labels.*.name, 'bump patch')) &&
(!contains(github.event.pull_request.labels.*.name, 'bump minor')) &&
(!contains(github.event.pull_request.labels.*.name, 'bump major'))
run: exit 1