actionforge / graph-runner

🏃‍♀️ The core cli of Actionforge
Other
12 stars 0 forks source link

Can not run my action graph #29

Closed asm0dey closed 2 months ago

asm0dey commented 6 months ago

❤️ First off, thanks for taking the time to contribute! ❤️

Contributions

Please read the contributions section before submitting a new issue.

Describe the bug or feature

When I try to run my not that complex-graph, it fails

To reproduce a bug

Steps to reproduce the behavior:

  1. Clone repo at this commit
  2. Try to build it with github actions
  3. Get an error:
Error in [/home/runner/work/graph-runner/graph-runner/core/actiongraph.go:101]
  actionforge/graph-runner/core.LoadGraph(..)
Error in [/home/runner/work/graph-runner/graph-runner/core/actiongraph.go:155]
  actionforge/graph-runner/core.loadNodes(..)
unsupported action run type: composite

Expected behavior

I would prefer it to work

GitHub Repo Link

https://github.com/asm0dey/topics-bot

sebastianrath commented 6 months ago

Thanks @asm0dey for your submission. Unfortunately, composite actions are the last remaining action types that aren't supported yet. They may contain instructions that are difficult to translate. I keep this issue open for now.

asm0dey commented 6 months ago

But who of them are composite? What's a composite action?

sebastianrath commented 6 months ago

You're right, an info in the log or some clarification is needed in the error output. The composite action in your graph is called sigstore/cosign-installer.

A composite action is basically a reusable workflow, made up from different GitHub actions.

https://github.com/sigstore/cosign-installer/blob/main/action.yml#L23

asm0dey commented 6 months ago

Thank you! Now I understand

asm0dey commented 2 months ago

Is it implemented now?

sebastianrath commented 2 months ago

Yes, I'll inform you once I've finished the VS Code extension update