chore(ci): exempt backport PRs from changelog-checker

pull/12977/head
DanStough 3 years ago committed by Dan Stough
parent 9c8606e138
commit 5451863f9f

@ -12,8 +12,8 @@ on:
jobs: jobs:
# checks that a .changelog entry is present for a PR # checks that a .changelog entry is present for a PR
changelog-check: changelog-check:
# If there a `pr/no-changelog` label we ignore this check # 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')" 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 runs-on: ubuntu-latest
steps: steps:

Loading…
Cancel
Save