Chris Gavin
7b72f1c330
Merge main into allow-override-temp.
2021-02-15 11:45:08 +00:00
Chris Gavin
6452109691
Treat empty CODEQL_ACTION_TEMP the same as it not being set.
2021-02-15 11:44:44 +00:00
Simon Engledew
1f07e287da
Do not report warning: undefined
2021-02-01 16:32:13 +00:00
Chris Gavin
ed751ece83
Allow overriding path of temporary files.
2021-02-01 15:34:13 +00:00
Simon Engledew
44ed1c6ce1
Remove pull request warnings
2021-01-29 10:42:37 +00:00
Simon Engledew
ee4d06713e
Fix wonky comment
2021-01-22 14:08:43 +00:00
Simon Engledew
6be1f5ce0e
Add more granular exception handling
2021-01-22 13:52:04 +00:00
Simon Engledew
8a9922df92
Disambiguate report messages
2021-01-22 13:52:04 +00:00
Simon Engledew
795b1923ec
Swap method naming to account for new functionality
2021-01-22 13:52:03 +00:00
Simon Engledew
28e2860afb
Correctly report WorkflowMissing
2021-01-22 13:51:45 +00:00
Simon Engledew
4547749a2f
Do not warn users if a workflow cannot be read
...
This will still send a LintFailed message status report.
2021-01-22 13:51:19 +00:00
Simon Engledew
1a6f6a27b3
Implement PR feedback
2021-01-15 08:28:21 +00:00
Simon Engledew
0853901c0d
Fix overzealous warning when PR scanning is not required
2021-01-13 12:28:24 +00:00
Simon Engledew
1511db33b3
Only check the steps of the job currently being run
2021-01-04 12:00:15 +00:00
Simon Engledew
e89a24b8cb
Only report the first CheckoutWrongHead lint error
2020-12-21 11:08:49 +00:00
Simon Engledew
2d00e8c6f7
Fix for numerical branch names
2020-12-18 10:23:46 +00:00
Simon Engledew
18c6a7d6d1
fix another edge case
2020-12-04 15:18:22 +00:00
Simon Engledew
1dc40ba165
Merge remote-tracking branch 'origin/main' into simon-engledew/string-branches
2020-12-04 12:36:42 +00:00
Simon Engledew
7100f22932
Add a bunch of tests cases and harden the function aganst malformed workflows
2020-12-03 13:41:55 +00:00
Simon Engledew
f3c9aee686
Hide an warning that is confusing on GHES
2020-12-02 16:49:54 +00:00
Simon Engledew
ec8015bc03
Merge branch 'main' into simon-engledew/string-branches
2020-12-02 08:35:11 +00:00
Simon Engledew
78b9d23d09
Remove unecessary if statement
2020-12-02 08:34:18 +00:00
Simon Engledew
698e2a5487
Just convert the pattern into a RegExp...
2020-12-01 20:56:07 +00:00
Simon Engledew
4d862616ce
First iteration on feedback
2020-12-01 20:08:41 +00:00
Simon Engledew
b1be00db57
Test the branch patterns work both ways
2020-12-01 17:16:33 +00:00
Simon Engledew
f99af1c014
Have a catch all coded error for lint failures
2020-12-01 15:41:04 +00:00
Simon Engledew
c8ee1f4ef3
Handle wildcard branches
2020-12-01 15:21:30 +00:00
Simon Engledew
ac1c081de8
Handle the case where branches may be strings, including "*"
2020-12-01 12:03:50 +00:00
Robin Neatherway
8e0e34a3e6
Add an explicit deprecation date
...
So that we can remove support for the beta configuration of
`on: push`-only we should communicate a date after which this
will not work.
2020-12-01 11:10:20 +00:00
Simon Engledew
be09fb3e99
Implement feedback
2020-11-26 15:20:38 +00:00
Simon Engledew
eed314143b
Add paths-ignore case
2020-11-25 14:23:21 +00:00
Simon Engledew
253d46ac97
Better copy for PathsSpecified, suggested by @sampart
2020-11-25 13:30:32 +00:00
Simon Engledew
c5f58f3ee7
Markdown is not supported - roll back and fix typo
2020-11-25 13:06:51 +00:00
Simon Engledew
94b10dbb8f
See if markdown is supported
2020-11-25 12:46:37 +00:00
Simon Engledew
85aefe5fa4
Signpost the latest documentation in the warning
2020-11-25 12:45:13 +00:00
Simon Engledew
8d468d67de
Improve linting hints
2020-11-25 12:36:59 +00:00
Simon Engledew
c06dcf8fa2
Update source
2020-11-25 11:03:48 +00:00
Simon Engledew
92ffb08081
Tidy up ready for review
2020-11-24 17:21:25 +00:00
Simon Engledew
2ac22e8935
Send short codes that do not need URL encoding for better splunk tracing
2020-11-24 12:43:08 +00:00
Simon Engledew
6df1fc5e38
Do not fail if the workflow has been deleted
2020-11-24 10:51:31 +00:00
Simon Engledew
754f502a84
Workflow triggers are null if unspecified
2020-11-24 10:25:58 +00:00
Simon Engledew
c0bd7b0b2b
Handle relative workflow paths
2020-11-24 09:56:10 +00:00
Simon Engledew
33bb87523e
Write a warning if there is an error with the workflow
2020-11-24 09:51:00 +00:00
Simon Engledew
7eb9dfcc60
Add a function that can lint a CodeQL action workflow
2020-11-23 17:29:19 +00:00
Eric Cornelissen
6ed5c82bb9
Merge branch 'main' into fix-typos
2020-11-20 13:59:16 +01:00
Eric Cornelissen
5416d4f3b5
Run npm run build
2020-11-20 11:35:59 +01:00
Simon Engledew
eb4226ede4
Scanning endpoint failures should not halt the scan
2020-11-19 15:49:46 +00:00
Simon Engledew
7fda765d49
Merge remote-tracking branch 'origin/main' into simon-engledew/fast-fail
2020-11-19 13:55:47 +00:00
Simon Engledew
17d4671d60
Fail processing on a 422 as well
...
Until there is a more robust versioning system it is probably safest to require endpoint compatiblity and not continue the action if there is a mismatch.
2020-11-19 13:14:45 +00:00
Simon Engledew
f3ff4c84ba
Implement review feedback
2020-11-19 12:39:57 +00:00