Skip to content

Does not recognize self-hosted-runner #205

@Borda

Description

@Borda

Hello, not sure what or where is the problem correctly, but as we have defined some GH self-hosted runners, seems that they are not correctly recognized and the check fails with the following:

    $.jobs.help.runs-on: 'spot-self-hosted' is not valid under any of the given schemas
    $.jobs.help.runs-on: 'spot-self-hosted' is not one of ['macos-10.15', 'macos-11', 'macos-12', 'macos-latest', 'self-hosted', 'ubuntu-18.04', 'ubuntu-20.04', 'ubuntu-22.04', 'ubuntu-latest', 'windows-2019', 'windows-2022', 'windows-latest']
    $.jobs.help.runs-on: 'spot-self-hosted' is not of type 'array'
    $.jobs.help.runs-on: 'spot-self-hosted' does not match '^.*\\$\\{\\{(.|[\r\n])*\\}\\}.*$'

I was checking the schema and it seems to be supported but not sure... https://json.schemastore.org/github-workflow

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationupstream-schema-issueAn issue with a schema or schema provider

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions