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

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

Closed
NicolasT opened this issue Jul 1, 2022 · 3 comments
Closed

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

NicolasT opened this issue Jul 1, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@NicolasT
Copy link

NicolasT commented Jul 1, 2022

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/[email protected]' (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.

@NicolasT
Copy link
Author

NicolasT commented Jul 1, 2022

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

@NicolasT NicolasT closed this as completed Jul 1, 2022
@NicolasT
Copy link
Author

NicolasT commented Jul 1, 2022

(Dupe of #231)

@mctofu
Copy link
Contributor

mctofu commented Jul 1, 2022

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

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

3 participants
@NicolasT @mctofu and others