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

[validate] Revert git_sha init in BaseContent #4778

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

samuelFain
Copy link
Contributor

@samuelFain samuelFain commented Jan 20, 2025

Related Issues

fixes: XSUP-45505

Description

Revert the initialization of git_sha in BaseContent (implemented in #4643) as it changed the default behavior of the validate command to execute on the local branch.

@samuelFain samuelFain requested a review from YuvHayun January 20, 2025 15:48
@samuelFain samuelFain self-assigned this Jan 20, 2025
Copy link

Changelog(s) in markdown:

  • Fixed an issue where the demisto-sdk validate command ran on the remote branch instead of the local current branch by default. #4778

if obj:
obj.git_sha = current_git_sha
Copy link
Contributor

Choose a reason for hiding this comment

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

why are we removing this part as well?
I thought we do want to keep some sort of a way to reach out to current git_sha

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.

2 participants