This commit is contained in:
Manuel de la Pena 2020-10-26 17:41:39 -04:00 коммит произвёл GitHub
Родитель e64aeb4ada
Коммит 5c4ef40e6c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 22 добавлений и 0 удалений

22
.github/workflows/label-checker.yml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,22 @@
name: Labels verification
on:
pull_request:
types: [opened, reopened, labeled, unlabeled, synchronize]
jobs:
labels-check:
runs-on: ubuntu-latest
name: Labels verification
steps:
- run: exit 0
# always happy if monojenkins
if: github.actor == 'monojenkins'
- run: exit 1
# failure if not monojenkins and no labels
if: github.actor != 'monojenkins' && join(github.event.pull_request.labels, ',') == ''
- run: exit 0
# success if not monojenkins but labels
if: github.actor != 'monojenkins' && join(github.event.pull_request.labels, ',') != ''