Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Fail to load dependabot/fetch-metadata/v1.3.2/action.yml #234

Closed
fredflev opened this issue Jul 1, 2022 · 1 comment
Closed

Error: Fail to load dependabot/fetch-metadata/v1.3.2/action.yml #234

fredflev opened this issue Jul 1, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@fredflev
Copy link

fredflev commented Jul 1, 2022

Hi,

I am getting the following error when upgrading from 1.3.1 to 1.3.2:

Download action repository 'dependabot/fetch-metadata@v1.3.2' (SHA:90ed90dba204fdf8970c1f891b4349c96353f220)
Error: dependabot/fetch-metadata/v1.3.2/action.yml:
Error: dependabot/fetch-metadata/v1.3.2/action.yml: (Line: 18, Col: 113, Idx: 682) - (Line: 18, Col: 141, Idx: 710): While parsing a block mapping, did not find expected key.
Error: System.ArgumentException: Unexpected type '' encountered while reading 'action manifest root'. The type 'MappingToken' was expected.
   at GitHub.DistributedTask.ObjectTemplating.Tokens.TemplateTokenExtensions.AssertMapping(TemplateToken value, String objectDescription)
   at GitHub.Runner.Worker.ActionManifestManager.Load(IExecutionContext executionContext, String manifestFile)
Error: Fail to load dependabot/fetch-metadata/v1.3.2/action.yml

There seems to be a syntax error in the description field:

'true' vs `true`

skip-commit-verification:
type: boolean
description: 'If true, the action will not expect Dependabot commits to be verified. This should be set as 'true' in GHES environments.'
default: false

@fredflev fredflev added the bug Something isn't working label Jul 1, 2022
@fredflev
Copy link
Author

fredflev commented Jul 1, 2022

Closing this, just saw the fix/patch at: #232

@fredflev fredflev closed this as completed Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant