dependabot / fetch-metadata

Extract information about the dependencies being updated by a Dependabot-generated PR.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`System.ArgumentException` during workflow set-up when using v1.3.2

NicolasT opened this issue · comments

Updating this action from v1.3.1 to v1.3.2 in a job causes the workflow to fail during the Set up job phase:

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

Reverting to v1.3.1 resolves this.

Looking at https://github.com/dependabot/fetch-metadata/blob/v1.3.2/action.yml#L18, it appears those backticks around a YAML identifier may be the culprit.

Looks like this was fixed already in #232 / 15259f7. So, a new release (or retraction of 1.3.2) would be good 😃

(Dupe of #231)

Thanks for reporting! We just released v1.3.3. Let us know if that didn't solve this issue for you.