Skip to content

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

Description

@poehlsb

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions