Skip to content
This repository was archived by the owner on Nov 14, 2025. It is now read-only.

Conversation

@O-Mutt
Copy link

@O-Mutt O-Mutt commented Aug 7, 2025

This change is required based on the enterprise and organization implementations for listing self-hosted runners.

This adds two new, optional, mutually exclusive, inputs: enterprise and organization. We use these inputs to trigger which api we should be calling. The rest should be unchanged

@O-Mutt O-Mutt force-pushed the feat/orgsandents branch 2 times, most recently from fdd1d13 to 6f43cc6 Compare August 7, 2025 17:29
@O-Mutt O-Mutt force-pushed the feat/orgsandents branch from 6f43cc6 to 7246e8f Compare August 7, 2025 17:35
pronebird added a commit to nymtech/nym-vpn-client that referenced this pull request Oct 3, 2025
@atonse
Copy link

atonse commented Oct 15, 2025

This particular solved our issue of letting us use org-scoped runners, thank you @O-Mutt for the PR.

@O-Mutt
Copy link
Author

O-Mutt commented Oct 15, 2025

Happy to help, hopefully the change gets merged too

Copy link

@mikehardy mikehardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is great and exactly what I need - probably going to fork the repo just to integrate this PR and have it available on a SHA I control for use on Anki-Android unless/until it's merged

@jimmygchen this looks great to me, for whatever that's worth

| ----------------- | ---------------------------------------------------------------------------------------------------------- |
| `github-token` | A token that can access the `list action runners` for the given context (e.g. user repo, org, enterprise). |
| `primary-runner` | A comma separated list of labels for the _primary_ runner (e.g. 'self-hosted,linux'). |
| `fallback-runner` | A comma separated list of labels for the _fallback_ runner (e.g. 'self-hosted,linux'). |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to suggest a different fallback vs primary? even though this is just nitpicking on an example blurb
then as a concrete suggestion, I suspect the typical use case is to fallback to a public runner if self-hosted is offline

Suggested change
| `fallback-runner` | A comma separated list of labels for the _fallback_ runner (e.g. 'self-hosted,linux'). |
| `fallback-runner` | A comma separated list of labels for the _fallback_ runner (e.g. 'ubuntu-latest'). |


await checkRunner({
token: "fake-token",
apiPath: 'orgs/call-me-ishmael/actions/runners',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sailing forbidden seas, and landing on barbarous coasts, I see

a gentleman and a scholar :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants