Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/snow-actions/list-github-hosted-runners

List active GitHub-hosted runners
https://github.com/snow-actions/list-github-hosted-runners

actions github-actions

Last synced: 20 days ago
JSON representation

List active GitHub-hosted runners

Awesome Lists containing this project

README

        

# List GitHub-hosted runners

[![Test](https://github.com/snow-actions/github-hosted-runners/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/snow-actions/github-hosted-runners/actions/workflows/test.yml)

List active [GitHub-hosted runners](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources).

## Usage

```yml
jobs:
runners:
runs-on: ubuntu-latest
outputs:
list: ${{ steps.list.outputs.all }}
steps:
- id: list
uses: snow-actions/[email protected]

test:
needs: [ runners ]
strategy:
fail-fast: false
matrix:
runner: ${{ fromJSON(needs.runners.outputs.list) }}
runs-on: ${{ matrix.runner }}
```

## Outputs

See [action.yml](action.yml)

| Name | Description |
| - | - |
| `all` | All runners |
| `latest` | Latest runners |
| `ubuntu` | Ubuntu runners |
| `windows` | Windows runners |
| `macos` | macOS runners |

## Supported

### Runners

- `ubuntu-*`
- `windows-*`
- `macos-*`
- `self-hosted`

### Events

- Any

## Dependencies

- Bash
- cURL
- [jq](https://stedolan.github.io/jq/)
- [JSON Schema Store](https://www.schemastore.org/json/)

## Contributing

Welcome.