Skip to content

stop action fails to find Github runner though the labeled runner does exist #119

@scottdickerson

Description

@scottdickerson

This results in lots of offline runners piling up in our repository. The EC2 instance is killed successfully but the runner isn't removed

image

Run machulav/ec2-github-runner@v2
  with:
    mode: stop
    github-token: ***
    label: shk8d
   <removed for security>
    aws-resource-tags: []
  env:

    AWS_DEFAULT_REGION: <removed>
    AWS_REGION: <removed>
    AWS_ACCESS_KEY_ID: ***
    AWS_SECRET_ACCESS_KEY: ***
AWS EC2 instance <removed-for-security> is terminated
GitHub self-hosted runner with label shk8d is not found, so the removal is skipped

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions