From 5451863f9fb9e71aeeadc7756dd72209a6c2f83b Mon Sep 17 00:00:00 2001 From: DanStough Date: Tue, 3 May 2022 17:17:32 -0400 Subject: [PATCH] chore(ci): exempt backport PRs from changelog-checker --- .github/workflows/changelog-checker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/changelog-checker.yml b/.github/workflows/changelog-checker.yml index 82da1280af..c487cf759e 100644 --- a/.github/workflows/changelog-checker.yml +++ b/.github/workflows/changelog-checker.yml @@ -12,8 +12,8 @@ on: jobs: # checks that a .changelog entry is present for a PR changelog-check: - # If there a `pr/no-changelog` label we ignore this check - if: "!contains(github.event.pull_request.labels.*.name, 'pr/no-changelog')" + # If there a `pr/no-changelog` label we ignore this check. Also, we ignore PRs created by the bot assigned to `backport-assistant` + if: "! ( contains(github.event.pull_request.labels.*.name, 'pr/no-changelog') || github.event.pull_request.user.login == 'hc-github-team-consul-core' )" runs-on: ubuntu-latest steps: