mseptiaan/GitHub Actions EC2 Runner
Create and terminate EC2 instances for GitHub Actions self-hosted runners
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Sep 15, 2025
- License
- None
Pinned Snippet
uses: mseptiaan/gh-workflow@c107bb9d11add1ad300ebf59ae636a6e1a1cf79b # v1.0.17tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| mode | Mode: start or stop | yes | — |
| github-token | GitHub personal access token | yes | — |
| image-id | EC2 AMI image ID | no | — |
| instance-type | EC2 instance type | no | t3.micro |
| subnet-id | VPC subnet ID | no | — |
| security-group | Security group ID | no | — |
| repo-owner | GitHub repository owner | no | — |
| repo-name | GitHub repository name | no | — |
| labels | Runner labels (comma-separated) | no | self-hosted,linux,x64 |
| pre-runner-script | Pre-runner script to execute before runner setup | no | — |
| instance-market-type | Instance market type (on-demand or spot) | no | on-demand |
| spot-max-price | Maximum price for spot instances (per hour in USD, optional) | no | — |
| instance-id | EC2 instance ID (for stop mode) | no | — |
Outputs
| name | description |
|---|---|
| label | Generated unique label for the runner |
| ec2-instance-id | EC2 instance ID of the created runner |
| runner-name | Name of the GitHub Actions runner |