Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/scripts/release_notes_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def ci_check(pr_number, access_token):
if release_notes_match:
release_notes_text = release_notes_match.group(1).strip()
if release_notes_text and release_notes_text != "<!--- REPLACE THIS COMMENT WITH YOUR DESCRIPTION --->":
comment = "Pull requests must include at least one of the required labels: `internal` (no release notes required), `highlight`, `enhancement`, `bug`, `deprecation`, `documentation`."
comment = "Pull requests must include at least one of the required labels: `internal` (no release notes required), `highlight`, `enhancement`, `bug`, `deprecation`, `documentation`. Except for `internal`, pull requests must also include a description in the release notes section."
pr.create_issue_comment(comment)
return False
# Pull request has neither a label nor a description
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_notes_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

permissions:
contents: read
pull-requests: read
pull-requests: write

jobs:
ci_check:
Expand Down
Loading