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

[WIP] rule to check changelog most recent version with galaxy version in galaxy.yml #3872

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

KB-perByte
Copy link
Contributor

rule to check changelog most recent version with galaxy version in galaxy.yml

@KB-perByte KB-perByte requested review from a team as code owners October 26, 2023 12:40
@KB-perByte KB-perByte requested review from priyamsahoo and shatakshiiii and removed request for a team October 26, 2023 12:40
@KB-perByte KB-perByte temporarily deployed to ack October 26, 2023 12:40 — with GitHub Actions Inactive
@KB-perByte KB-perByte changed the title rule to check changelog most recent version with galaxy version in galaxy.yml [WIP] rule to check changelog most recent version with galaxy version in galaxy.yml Oct 26, 2023
@KB-perByte KB-perByte marked this pull request as draft October 26, 2023 12:40
}

def matchplay(self, file: Lintable, data: dict[str, Any]) -> list[MatchError]:
"""Return matches found for a specific play (entry in playbook)."""
changelog_file_data = []
global CHANGELOG_FILE
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not fond of this implementation, reusing the file object to read changelog data and compare it to galaxy is a better implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

None yet

2 participants