Skip to content

Commit 6b7a8f4

Browse files
authored
Final fix for changelog validation (#15686)
1 parent fa32e70 commit 6b7a8f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ddev/src/ddev/utils/scripts/check_pr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def get_changelog_errors(git_diff: str, suffix: str, private: bool = False) -> l
144144
return errors
145145

146146

147-
def changelog_impl(*, ref: str, diff_file: str, pr_file: str) -> None:
147+
def changelog_impl(*, ref: str, diff_file: str, pr_file: str, private: bool) -> None:
148148
import json
149149

150150
on_ci = os.environ.get('GITHUB_ACTIONS') == 'true'
@@ -168,7 +168,7 @@ def changelog_impl(*, ref: str, diff_file: str, pr_file: str) -> None:
168168
print('No changelog entries required (changelog/no-changelog label found)')
169169
return
170170

171-
errors = get_changelog_errors(git_diff, changelog_entry_suffix(pr_number, pr_url))
171+
errors = get_changelog_errors(git_diff, changelog_entry_suffix(pr_number, pr_url), private=private)
172172
if not errors:
173173
return
174174
elif os.environ.get('GITHUB_ACTIONS') == 'true':

0 commit comments

Comments
 (0)