diff --git a/actions-languageserver/src/value-providers/runs-on.ts b/actions-languageserver/src/value-providers/runs-on.ts index 0de79f4..68cf902 100644 --- a/actions-languageserver/src/value-providers/runs-on.ts +++ b/actions-languageserver/src/value-providers/runs-on.ts @@ -2,6 +2,8 @@ import {Value} from "@github/actions-languageservice/value-providers/config"; import {Octokit} from "@octokit/rest"; import {TTLCache} from "../utils/cache"; +// Limitation: getRunnerLabels returns default hosted labels and labels for repository self-hosted runners. +// It doesn't return labels for organization runners visible to the repository. export async function getRunnerLabels(client: Octokit, cache: TTLCache, owner: string, name: string): Promise { const defaultLabels = [ "ubuntu-latest",