mseptiaan/GitHub Actions EC2 Runner

Create and terminate EC2 instances for GitHub Actions self-hosted runners

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Sep 15, 2025
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: mseptiaan/gh-workflow@c107bb9d11add1ad300ebf59ae636a6e1a1cf79b # v1.0.17

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

namedescriptionrequireddefault
modeMode: start or stopyes
github-tokenGitHub personal access tokenyes
image-idEC2 AMI image IDno
instance-typeEC2 instance typenot3.micro
subnet-idVPC subnet IDno
security-groupSecurity group IDno
repo-ownerGitHub repository ownerno
repo-nameGitHub repository nameno
labelsRunner labels (comma-separated)noself-hosted,linux,x64
pre-runner-scriptPre-runner script to execute before runner setupno
instance-market-typeInstance market type (on-demand or spot)noon-demand
spot-max-priceMaximum price for spot instances (per hour in USD, optional)no
instance-idEC2 instance ID (for stop mode)no
namedescription
labelGenerated unique label for the runner
ec2-instance-idEC2 instance ID of the created runner
runner-nameName of the GitHub Actions runner