Add workflow-inputs JS action#36
Open
lorisleiva wants to merge 1 commit into
Open
Conversation
This PR brings the [`workflow-inputs`](https://github.com/lorisleiva/workflow-inputs-action) action into the monorepo as a new sibling to `install-solana` and `setup-ubuntu`. It renders the inputs of the current workflow run as a markdown table in the job summary. This is useful for `workflow_dispatch` runs so anyone reviewing later can see what inputs triggered them. Consumers will reference it as `solana-program/actions/workflow-inputs@v1`. Unlike the existing composite actions, this is a JavaScript action bundled with [Vite+](https://viteplus.dev): TypeScript sources live under `workflow-inputs/src/`, and the committed `workflow-inputs/dist/index.js` is what the runner executes. Two new path-scoped CI workflows (`workflow-inputs-ci.yml` and `workflow-inputs-e2e.yml`) are also added to test the action on changes to `workflow-inputs/**`.
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 brings the
workflow-inputsaction into the monorepo as a new sibling toinstall-solanaandsetup-ubuntu. It renders the inputs of the current workflow run as a markdown table in the job summary. This is useful forworkflow_dispatchruns so anyone reviewing later can see what inputs triggered them. Consumers will reference it assolana-program/actions/workflow-inputs@v1.Unlike the existing composite actions, this is a JavaScript action bundled with Vite+: TypeScript sources live under
workflow-inputs/src/, and the committedworkflow-inputs/dist/index.jsis what the runner executes. Two new path-scoped CI workflows (workflow-inputs-ci.ymlandworkflow-inputs-e2e.yml) are also added to test the action on changes toworkflow-inputs/**.