rogisolorzano/Stops a self-hosted EC2 runner
Stops a self-hosted EC2 runner
View on GitHubTrust Signals
- Scorecard Score
- Scorecard 2–4scored Jul 6, 2026
- Maintenance Recency
- Stalelast commit Feb 18, 2023
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: rogisolorzano/github-runner-ec2-stop@c7296980c7a33d1ac7a6f968887a66b35c6627ba # v1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub Personal Access Token with the 'repo' scope. | yes | — |
| runner-label | The label of the Github runner to remove. | yes | — |
| instance-id | The instance ID of the EC2 instance to terminate. | yes | — |
| cleanup-tag-name | Optionally cleanup any instances with a tag name and value. This is useful to cleanup any dangling instances that might have failed to be terminated in previous workflow runs for some reason. With the github-runner-ec2-start action, you can specify a tag name and value that you can use when cleaning up here. Tag value is required if tag name is provided. | no | — |
| cleanup-tag-value | Optionally cleanup any instances with a tag name and value. Tag name is required if tag value is provided. | no | — |
| cleanup-older-than-hours | Optionally cleanup instances that have been running for longer than x hours. Tag name and value are required if this is provided. This defaults to 1 hour. | no | — |
| region | The AWS region. Defaults to us-east-1. | no | — |
Outputs
no outputs