Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/snow-actions/list-github-hosted-runners
- Owner: snow-actions
- License: mit
- Created: 2022-12-31T03:23:18.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-01T21:58:58.000Z (over 1 year ago)
- Last Synced: 2025-01-18T13:48:56.031Z (27 days ago)
- Topics: actions, github-actions
- Homepage:
- Size: 30.3 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
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.