This repository was archived by the owner on Jan 12, 2026. It is now read-only.
Initial cli-installer implementation#1
Merged
volodymyrZotov merged 12 commits intomainfrom Aug 13, 2025
Merged
Conversation
This was referenced Aug 5, 2025
edif2008
reviewed
Aug 8, 2025
Member
edif2008
left a comment
There was a problem hiding this comment.
Code review: ✅
Things look straight forward and on point. Basically a new TS project with the changes from install-cli-action
Functional review: ➖
Haven't done any, but since it's used in both install-cli-action and load-secrets-action and it works in both, I'm confident in these changes.
edif2008
approved these changes
Aug 13, 2025
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 is initial implementation of op-cli-installer.
Typescript code from install-cli-action is copied to this repo as it is, without any changes. Only exported function
installCliOnGithubActionRunnerdoesn't handle errors to allows end users to handle errors in their way.The code is placed inside
github-actionmodule, to identify that this code is only applicable for github actions. This also allows to extend this repo in the future if we would need to install CLI in other scenarios.Exported
installCliOnGithubActionRunner- the main function that installs the CLI on github runners. Along withReleaseChannelandVersionResolver- they are not used as exported pieces. But as now this repo is a library, I think this is beneficial to export those entries as well.For now we do not build and publish an NPM package with this code. We'll install it as dependency in
install-cli-actionandload-secrets-actiondirectly from github.Implementation steps
How to test