Skip to content

Commit

Permalink
add skip-changelog label support
Browse files Browse the repository at this point in the history
  • Loading branch information
mjurbanski-reef committed Nov 23, 2023
1 parent 7459fe6 commit 62d09a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions 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 @@ -28,6 +28,7 @@ jobs:
- name: Run linters
run: nox -vs lint
- name: Validate new changelog entries
if: contains(github.event.pull_request.labels.*.name, '-changelog') == false
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

Expand Down
2 changes: 2 additions & 0 deletions changelog.d/+skip_changelog.infrastructure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Allow skipping changelog for PRs marked with `-changelog` label.

0 comments on commit 62d09a2

Please sign in to comment.