forked from deephaven/deephaven-core
-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (23 loc) · 1015 Bytes
/
label-check-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Label Check CI
on:
pull_request:
# The default pull_request trigger only happens on opened, synchronize, and reopened types.
# We are adding labeled and unlabeled here, so that changes to labels will cause this action to
# be re-run.
#
# Note: we need to rerun this action on new commits (synchronize events) even though it doesn't
# effect the labels because the merge requirements need checks to pass against the most recent
# commit.
types: [ opened, synchronize, reopened, labeled, unlabeled ]
branches: [ main ]
jobs:
doc-labels:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check Documentation Labels
env:
HAS_DocumentationNeeded: ${{ contains(github.event.pull_request.labels.*.name, 'DocumentationNeeded') }}
HAS_NoDocumentationNeeded: ${{ contains(github.event.pull_request.labels.*.name, 'NoDocumentationNeeded') }}
run: .github/scripts/check-doc-labels.sh