✨ feat(ci): add GitHub Action entrypoint and CI docs tabs#8
Merged
Conversation
Add a Docker entrypoint script for the Versify GitHub Action and enhance the CI/CD documentation with selectable integration methods. Most important changes: - Add entrypoint.sh that builds CLI args from ACTION inputs, executes /versify, determines whether a version bump occurred by comparing against a baseline or latest tag, and writes outputs. This enables the action container to run Versify and emit new_version and should_bump for downstream steps. - Replace a single GitHub Actions example in docs/index.html with tabbed CI/CD instructions (GitHub Action and Manual Setup). The Action tab contains a complete example workflow using OpScaleHub/versify and softprops/action-gh-release. - Simplify the inline action example step that runs versify in the docs (removed redundant comments) and improve guidance text. Why: - Provide a usable entrypoint so the action container can accept inputs, run Versify reliably, and set outputs for release robots. - Make the documentation clearer and more flexible by offering both an easy GitHub Action integration and manual CI/CD instructions.
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.
Add a Docker entrypoint script for the Versify GitHub Action and
enhance the CI/CD documentation with selectable integration methods.
Most important changes:
executes /versify, determines whether a version bump occurred by
comparing against a baseline or latest tag, and writes outputs.
This enables the action container to run Versify and emit
new_version and should_bump for downstream steps.
tabbed CI/CD instructions (GitHub Action and Manual Setup). The
Action tab contains a complete example workflow using
OpScaleHub/versify and softprops/action-gh-release.
docs (removed redundant comments) and improve guidance text.
Why:
inputs, run Versify reliably, and set outputs for release robots.
an easy GitHub Action integration and manual CI/CD instructions.