Add Github Action#6
Merged
Merged
Conversation
The check-mode drift diff appended the raw readme-file and schema-file input values as diff paths, but helm-scribe writes those outputs under the chart directory. The raw entries were redundant with the chart-directory path at best and a false-positive source at worst, so they are removed. Resolve the release repository from github.repository when github.action_repository is empty, which is the case for local ./ usage. This lets the integration workflow exercise the real resolve and download path, so a new job downloads a published release and runs it. The exact-match branch already accepted vN.M.P, but range constraints like v0 or v0.3 fell through to the invalid-constraint error. Since the Action is referenced as @v0, users naturally write version: v0. Strip a leading v before building the range filter so it behaves like the bare form. The v*.*.* trigger also fires on prerelease tags such as v1.2.0-rc1. The move-major-tag step would then repoint the consumable v<major> tag at a prerelease, while binary resolution excludes prereleases. Skip the move when the tag contains a hyphen so the major tag only tracks stable releases.
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.
This PR adds helm-scribe as a Github Action, so we will be able to use the tool simply from Github Actions Marketplace.