Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converting file name validations to run as a pre-commit hook #4476

Merged
merged 15 commits into from
Aug 13, 2024

Conversation

RosenbergYehuda
Copy link
Contributor

@RosenbergYehuda RosenbergYehuda commented Aug 7, 2024

Related Issues

fixes: https://jira-dc.paloaltonetworks.com/browse/CIAC-7819
fixes: https://jira-dc.paloaltonetworks.com/browse/CIAC-11382

Description

Converted the following validations, to run in pre-commit instead of validate.

  • XD100
  • PR100

@RosenbergYehuda RosenbergYehuda changed the title init Converting file name validations to run as in pre-commit hook Aug 8, 2024
@RosenbergYehuda RosenbergYehuda self-assigned this Aug 8, 2024
Copy link

github-actions bot commented Aug 8, 2024

Changelog(s) in markdown:

  • Moved PR100 and XD100 validations to run as a pre-commit hook. These validations ensure the ParsingRule and XSIAM Dashboard filenames are valid. #4476

@RosenbergYehuda RosenbergYehuda changed the title Converting file name validations to run as in pre-commit hook Converting file name validations to run as a pre-commit hook Aug 11, 2024
Copy link
Contributor

@JasBeilin JasBeilin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

demisto_sdk/scripts/validate_content_path.py Outdated Show resolved Hide resolved
demisto_sdk/scripts/validate_content_path.py Outdated Show resolved Hide resolved
demisto_sdk/scripts/validate_content_path.py Outdated Show resolved Hide resolved
RosenbergYehuda and others added 3 commits August 11, 2024 17:02
Co-authored-by: Jasmine Beilin <71636766+JasBeilin@users.noreply.github.com>
.changelog/4476.yml Outdated Show resolved Hide resolved
Co-authored-by: dorschw <81086590+dorschw@users.noreply.github.com>
Copy link

Changelog(s) in markdown:

  • Moved PR100 and XD100 validations to run the validate-content-path pre-commit hook. These validations ensure the ParsingRule and XSIAM Dashboard filenames are valid. #4476

@RosenbergYehuda RosenbergYehuda merged commit 5cbe877 into master Aug 13, 2024
25 checks passed
@RosenbergYehuda RosenbergYehuda deleted the YR/Convert-XD100-to-the-new-format/CIAC-7819 branch August 13, 2024 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants