Skip to content

Commit

Permalink
Make getInputOrThrow throw when it can't find any calls to the Action
Browse files Browse the repository at this point in the history
This created unexpected behavior with a workflow calling
`codeql-action/analyze` locally.
Therefore, be more conservative with parsing inputs from workflows and
refuse to parse jobs that don't call the specified Action exactly once.
  • Loading branch information
Henry Mercer committed Dec 6, 2022
1 parent 9085295 commit 4623c8e
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 42 deletions.
26 changes: 12 additions & 14 deletions lib/workflow.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4623c8e

Please sign in to comment.