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

feat(level): Support current as the maximum level #126

Closed
zFernand0 opened this issue Jan 19, 2024 · 0 comments · Fixed by #127
Closed

feat(level): Support current as the maximum level #126

zFernand0 opened this issue Jan 19, 2024 · 0 comments · Fixed by #127
Labels
enhancement New feature or request

Comments

@zFernand0
Copy link
Collaborator

zFernand0 commented Jan 19, 2024

When dealing with prereleases, we may want to lock down the labels to only allow release-current.
In that case, we should probably introduce the level: current to the list of accepted level definitions in a protected branch.
Source: https://github.com/zowe-actions/octorelease/blob/master/packages/core/src/doc/IProtectedBranch.ts#L34

Otherwise, we could assume that if prerelease != null && prerelease !== false (or simply if(prerelease)) then we always do current without asking for labels.


Notes:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant