Skip to content

Commit

Permalink
cr
Browse files Browse the repository at this point in the history
  • Loading branch information
bziser committed Jun 3, 2024
1 parent cd7302b commit db6b4f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .changelog/4275.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
changes:
- description: Combined RN103 and RN104 into the new validation format.
- description: Combined RN103 and RN104 into the new validation format. Validates that the pack contains a full and valid release note file.
type: internal
pr_number: 4275
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import re
from typing import Iterable, List

from demisto_sdk.commands.common.constants import GitStatuses
from demisto_sdk.commands.content_graph.objects.pack import Pack
from demisto_sdk.commands.content_graph.parsers.related_files import RelatedFileType
from demisto_sdk.commands.validate.validators.base_validator import (
Expand All @@ -25,6 +26,7 @@ class IsReleaseNotesFilledOutValidator(BaseValidator[ContentTypes]):
related_field = "release_note"
is_auto_fixable = False
related_file_type = [RelatedFileType.RELEASE_NOTE]
expected_git_statuses = [GitStatuses.ADDED]

@staticmethod
def strip_exclusion_tag(release_notes_comments):
Expand Down

0 comments on commit db6b4f2

Please sign in to comment.