Skip to content

Error: Input does not meet YAML 1.2 "Core Schema" specification: log-public-key #225

@fancyTyphoonKitty

Description

@fancyTyphoonKitty

Hello,

I'm trying to leverage this action with a self-hosted runner using a container (not the runner agent). I'm not really doing anything too fancy, but when the step runs, it fails with the error Error: Input does not meet YAML 1.2 "Core Schema" specification: log-public-key.

#truncated
    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: webfactory/ssh-agent
        uses: webfactory/ssh-agent@v0.9.0
        with:
          ssh-private-key: |
            ${{ secrets.SSH_DEPLOY_KEY }}

#truncated

When reviewing the action.yml file is vscode, I did notice that the Github Actions vscode extension was flagging the default value for the input in question. Stating Incorrect type. Expected "string".yaml-schema: GitHub Action.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions