Skip to content

Commit

Permalink
docs(gh): added better description
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanholz committed Aug 5, 2024
1 parent fb799a7 commit abf7339
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ For more information see the [self-hosted runner security docs](https://docs.git
| aws_tags | The AWS tags to use for your runner, formatted as a JSON list. See `README` for more details. | false | |
| extra_gh_labels | Any extra GitHub labels to tag your runners with. Passed as a comma-separated list with no spaces. | false | |
| instance_count | The number of instances to create, defaults to 1 | false | 1 |
| gh_timeout | The amount of timeout for waiting for a runner to be online by GitHub. | false | 1200 |
| gh_timeout | The timeout in seconds to wait for the runner to come online as seen by the GitHub API. Defaults to 1200 seconds. | false | 1200 |

### AWS `stop` Inputs
| Input | Description | Required for stop| Default | Note |
Expand Down
10 changes: 5 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: gha-runner
description: A simple GitHub Action for creating self-hosted runners.
runs:
using: 'docker'
image: 'Dockerfile'
using: "docker"
image: "Dockerfile"
inputs:
action:
description: 'Whether to start or stop. Options: "start", "stop"'
Expand Down Expand Up @@ -37,9 +37,9 @@ inputs:
instance_count:
description: "The number of instances to create, defaults to 1"
required: false
default: '1'
default: "1"
instance_mapping:
description: 'A JSON object mapping instance ids to unique GitHub runner labels. Required to stop created instances.'
description: "A JSON object mapping instance ids to unique GitHub runner labels. Required to stop created instances."
required: false
provider:
description: 'The cloud provider to use to provision a runner. Will not start if not set. Example: "aws"'
Expand All @@ -48,7 +48,7 @@ inputs:
description: "The repo to run against. Will use the the current repo if not specified."
required: false
gh_timeout:
description: 'The amount of timeout for waiting for a runner to be online by GitHub.'
description: "The timeout in seconds to wait for the runner to come online as seen by the GitHub API. Defaults to 1200 seconds."
required: false
outputs:
mapping:
Expand Down

0 comments on commit abf7339

Please sign in to comment.