actions-marketplace-validations/Stops a self-hosted EC2 runner

Stops a self-hosted EC2 runner

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Feb 18, 2023
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/rogisolorzano_github-runner-ec2-stop@c2d8cc064477f23ce7b499f09ef260d81b887241 # no releases — HEAD as of 2026-07-10

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github-tokenGitHub Personal Access Token with the 'repo' scope.yes
runner-labelThe label of the Github runner to remove.yes
instance-idThe instance ID of the EC2 instance to terminate.yes
cleanup-tag-nameOptionally 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-valueOptionally cleanup any instances with a tag name and value. Tag name is required if tag value is provided.no
cleanup-older-than-hoursOptionally 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
regionThe AWS region. Defaults to us-east-1.no

no outputs