Skip to content

Commit

Permalink
dont check changelog if -changelog label is present and after pushi…
Browse files Browse the repository at this point in the history
…ng to master
  • Loading branch information
mpnowacki-reef committed Nov 23, 2023
1 parent 4293ef7 commit 982fd0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
- name: Run linters
run: nox -vs lint
- name: Validate new changelog entries
if: (contains(github.event.pull_request.labels.*.name, '-changelog') == false) && (github.event.pull_request.base.ref != '')
run: if [ -z "$(git diff --diff-filter=A --name-only origin/${{ github.event.pull_request.base.ref }} changelog.d)" ];
then echo no changelog item added; exit 1; fi
build:
Expand Down

0 comments on commit 982fd0a

Please sign in to comment.