Henry Mercer
d1a917f445
Test that workflow with two different languages doesn't produce an error
2023-09-22 19:08:38 +01:00
Henry Mercer
d0c18ba23e
Warn when workflow analyzes the same language twice
2023-09-22 14:54:03 +01:00
Shaikhul Islam
c26fc558ba
revert MissingPushHook checks changes
2023-05-10 20:37:56 +00:00
Shaikhul Islam
699855c048
fix linter issue
2023-05-09 15:05:36 +00:00
Shaikhul Islam
edb138ff88
remove consts MismatchedBranches and MissingPushHook
2023-05-09 14:39:49 +00:00
Robin Neatherway
f6e4cff38a
Remove checks for triggering on specific paths
...
These are no longer necessary with the new approach to selecting
alerts to show on pull requests.
2023-03-29 11:02:16 +02:00
Henry Mercer
10695e6a20
Fix linter errors
2023-01-18 21:00:05 +00:00
Henry Mercer
5f644f971e
Upgrade TypeScript to 9.2.0
2023-01-18 20:59:57 +00:00
Henry Mercer
384a214d60
Allow testing workflow parsing functionality from PR checks
2022-12-06 18:37:25 +00:00
Henry Mercer
4623c8edb6
Make getInputOrThrow throw when it can't find any calls to the Action
...
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.
2022-12-06 18:13:47 +00:00
Henry Mercer
8f05fcd048
Filter set of possible Action inputs to those from a particular job
...
This better handles cases where customers have a monorepo and have
separate jobs for different components.
2022-11-25 17:40:27 +00:00
Henry Mercer
bff0be7364
Generalize getCategoryInputOrThrow to arbitrary inputs
2022-11-23 19:27:03 +00:00
Henry Mercer
daf4614f68
Substitute matrix variables into category input
...
This is a common case, so we should handle it.
2022-11-23 19:27:03 +00:00
Henry Mercer
e2d523ca5e
Add function to read the analysis category from a workflow
2022-11-23 19:27:03 +00:00
Henry Mercer
79f8286c68
Refactoring: Separate out workflow related functionality
...
No semantic changes.
2022-11-23 19:27:01 +00:00