-
Notifications
You must be signed in to change notification settings - Fork 77
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
Adding validation for playbook image #4538
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gj!
See my commets.
demisto_sdk/commands/validate/validators/RM_validators/RM116_missing_playbook_image.py
Show resolved
Hide resolved
demisto_sdk/commands/validate/validators/RM_validators/RM116_missing_playbook_image.py
Show resolved
Hide resolved
demisto_sdk/commands/validate/validators/RM_validators/RM116_missing_playbook_image.py
Show resolved
Hide resolved
Changelog(s) in markdown:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this validation run always? i.e -a and -i/g?
yes, always |
# Conflicts: # demisto_sdk/commands/validate/validators/RM_validators/RM116_missing_playbook_image.py
Changelog(s) in markdown:
|
Related Issues
fixes: issue
Description
Add a validation that will check that if a playbook exists in the PR, than search for a non empty image section and that a link is provided. Won't check the validity of the image. Check for image link format.
For example in this PR there are playbooks images in the directory doc_files.