Repository navigation
fix(ci): skip release lookup for unversioned PRs - #824
Open
MyLeeJiEun wants to merge 1 commit into
Open
MyLeeJiEun wants to merge 1 commit into
MyLeeJiEun wants to merge 1 commit into
Conversation
Only require a configured release line after changelog or Linglong versions change. Pure code PRs return unchanged first. Log: Allow unversioned PRs on unregistered G2 maintenance branches. Influence: release/* code fixes are no longer blocked by the group version guard. PMS: TASK-398637
Contributor
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: MyLeeJiEun The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Reviewer's GuideImplementationMove the unchanged-version return ahead of G2 release-line lookup so unversioned PRs can pass without a registered maintenance branch, while changed versions still require a release line and baseline record.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The guard currently resolves
release_line()before checking whetherdebian/changelogor Linglong versions changed. A pure code PR targeting an unregistered maintenance branch such asrelease/2500u2therefore fails with:Move the unchanged-version return ahead of release-line lookup. Version-changing PRs still require a registered release line and baseline record.
Validation:
release/2500u2test_verify_group_version.py: 47/47 passedrelease/2500u2:group-version-guardpassedtest: unversioned PR on release/2500u2 peeweep-test/dde-shell#13
Summary by Sourcery
Skip release-line lookup for pull requests without version changes while retaining release validation for version-changing pull requests.
Bug Fixes:
Enhancements: