From 9366fab9809cf64e10f8f20d5f49b46e8f2c0da8 Mon Sep 17 00:00:00 2001 From: Nolan Brubaker Date: Tue, 14 Jul 2020 18:13:47 -0400 Subject: [PATCH] Don't check non-code labeled PRs for changelogs (#2710) The labels 'Documentation', 'Website', and 'Design' are all for PRs exclusively related to those things, not code, so they don't need to be checked for changelogs or have the extra label applied. Signed-off-by: Nolan Brubaker --- .github/workflows/pr-changelog-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-changelog-check.yml b/.github/workflows/pr-changelog-check.yml index c7b6890b5..e104b2b03 100644 --- a/.github/workflows/pr-changelog-check.yml +++ b/.github/workflows/pr-changelog-check.yml @@ -11,5 +11,5 @@ jobs: uses: actions/checkout@v2 - name: Changelog check - if: ${{ !contains(github.event.pull_request.labels.*.name, 'changelog-not-required') }} + if: ${{ !(contains(github.event.pull_request.labels.*.name, 'changelog-not-required') || contains(github.event.pull_request.labels.*.name, 'Design') || contains(github.event.pull_request.labels.*.name, 'Website') || contains(github.event.pull_request.labels.*.name, 'Documentation'))}} run: ./hack/changelog-check.sh