Skip to content

[Bug] - [Dataflow analysis crashes on invalid or malformed GitHub Actions workflows] #1306

@behnazh-w

Description

@behnazh-w

Description

When running Macaron's dataflow analysis on a repository that contains an invalid or malformed GitHub Action workflow file, Macaron should not crash (e.g., on uncaught KeyError), and instead log it as a debug information and continue with the analysis of the other workflows. Otherwise, this leads to incomplete analysis and premature termination.

Related #1305

Expected Behavior

The expected behavior is for Macaron to handle such exceptions gracefully, logging relevant error messages, and continue analysis on the remaining valid workflows.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggithub_actionsPull requests that update GitHub Actions code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions