Skip to content

Commit

Permalink
Add variation of skip-changelog (#31)
Browse files Browse the repository at this point in the history
* Add variation of skip-changelog

* Include skipchangelog

* Spelling addition
  • Loading branch information
cidrblock authored May 12, 2023
1 parent 3a29d64 commit fff7a34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .config/dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ passenv
rndmh3ro
ruamel
saadmk11
skipchangelog
testenv
timeperiod
typeshed
Expand Down
4 changes: 2 additions & 2 deletions antsichaut/antsichaut.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,9 @@ def parse_changelog( # noqa: C901, PLR0912
for pull_request in changes:
for config in self.group_config:
if any(label in pull_request["labels"] for label in config["labels"]):
# if a PR contains a skip_changelog label,
# if a PR contains a skip changelog label,
# do not add it to the changelog
if config["title"] == "skip_changelog":
if config["title"] in ["skip_changelog", "skip-changelog", "skipchangelog"]:
break

change_type = config["title"]
Expand Down

0 comments on commit fff7a34

Please sign in to comment.