actions-marketplace-validations/GitHub Script for Ruby
Run simple Ruby scripts using the GitHub client
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| script | The script to run | no | — |
| github-token | The GitHub token used to create an authenticated client | no | ${{ github.token }} |
| debug | Whether to tell the GitHub client to log details of its requests | — | false |
| result-encoding | Either "string" or "json" (default "json") how the result will be encoded | — | json |
| gemfile | Gemfile code to use instead of the default Gemfile | no | — |
| gemfile-path | Gemfile path to use instead of the default Gemfile | no | — |
| pre-command | The command to execute in the environment of the action, before run the script. | no | — |
| command | The command to execute in the environment of the action, instead of running the script. | no | — |
| ruby-version | Version of Ruby to use. | no | — |
Outputs
| name | description |
|---|---|
| result | The return value of the script, stringified with `JSON.#generate` |