Граф коммитов

38 Коммитов

Автор SHA1 Сообщение Дата
nickfyson 6b5b958063 remove dedundant single quotes from node version strings 2023-12-13 11:38:14 +00:00
nickfyson d651fbc494 change to node20 for all actions 2023-12-07 14:07:26 +00:00
Josh Soref 8ab72a0f47 Add output for analyze action output path 2023-07-25 16:03:16 -04:00
Angela P Wen a21bb7f968
Update `upload` input values and logic (#1598)
- The `upload` input to the `analyze` Action now accepts the following values:
    - `always` is the default value, which uploads the SARIF file to Code Scanning for successful and failed runs.
    - `failure-only` is recommended for customers post-processing the SARIF file before uploading it to Code Scanning. This option uploads debugging information to Code Scanning for failed runs to improve the debugging experience.
    - `never` avoids uploading the SARIF file to Code Scanning even if the code scanning run fails. This is not recommended for external users since it complicates debugging.
    - The legacy `true` and `false` options will be interpreted as `always` and `failure-only` respectively.

---------

Co-authored-by: Henry Mercer <henry.mercer@me.com>
2023-03-23 17:23:25 +00:00
Henry Mercer 00a3c456fb Always wait for processing when uploading a failed SARIF file 2022-11-29 16:27:04 +00:00
Henry Mercer 5296a763b1 Upload failed SARIF files to Code Scanning 2022-11-25 17:52:50 +00:00
Henry Mercer 3cf2a1ba2e Add function for retrieving the "upload" input 2022-11-25 17:49:01 +00:00
Angela P Wen 9b7fa3dd99
Add `expect-error` input to force PR check green on expected failure (#1177) 2022-08-16 16:27:14 -07:00
Angela P Wen 44a27e6a51 Add top level comments, rename cleanup to post 2022-08-02 12:08:18 +02:00
Angela P Wen 1016eba538 Move logs, SARIF actions uploads to post: hooks 2022-07-29 11:29:39 +02:00
Chris Gavin 9885f86fab
Re-enable waiting for processing by default, using the new API semantics. 2022-03-30 12:24:59 +01:00
Henry Mercer 3d23aade46 Use Node.js v16 in all Actions 2022-03-28 14:39:00 +01:00
Henry Mercer 21c48e7a01 Revert "Use Node.js v16 in all Actions"
This reverts commit 34c777f8d0.
2022-02-17 13:51:03 +00:00
Henry Mercer 34c777f8d0 Use Node.js v16 in all Actions
This is now in active LTS status.
2022-02-08 13:55:23 +00:00
Andrew Eisenberg 6c6b8c33c4 Update the description of new inputs
These new inputs will not work on pull requests from forks.
2022-02-01 10:34:45 -08:00
cw-acroteau 0dd4dbf9d9 Apply documentation suggestions from code review
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
2022-01-31 20:06:17 -05:00
Alex Croteau 980fd4ed38 Adds ref and SHA as inputs, and sarif-id as output 2022-01-31 20:06:17 -05:00
Chris Gavin 713eacdf6c
Revert "Start waiting for processing by default."
This reverts commit b661ef1697.
2022-01-21 10:25:57 +00:00
Chris Gavin b661ef1697
Start waiting for processing by default. 2021-12-09 10:21:34 +00:00
Chris Gavin 823bb21bbb
Add a default value for `wait-for-processing`. 2021-11-17 12:33:38 +00:00
Chris Gavin 316ad9d919
Add an option to allow waiting until an analysis has been processed before finishing the Action. 2021-11-17 12:14:13 +00:00
Edoardo Pirovano bc31f604d3
Add an option to upload some debugging artifacts 2021-11-01 16:12:50 +00:00
Chuan-kai Lin 70b730eb7d Add RAM and threads options to init action 2021-10-28 15:09:59 -07:00
Edoardo Pirovano ef852c006a
Support splitting of DB creation and query execution 2021-06-28 17:14:22 +01:00
Robert 146c897909 Upload CodeQL databases 2021-06-22 13:05:12 +01:00
Robert d893508e3a
Revert "Upload CodeQL databases" 2021-06-21 10:26:02 +01:00
Robert f3cd5fa001 Add workflow input to disable uploads 2021-06-18 09:56:15 +01:00
Edoardo Pirovano ddb83a462d Cleanup CodeQL DBs and output their location for later steps 2021-06-04 18:54:15 +01:00
David Verdeguer 40fb1f3f00 Add category input 2021-04-28 14:32:16 +02:00
Eric Cornelissen 512c07d9a3 Fix typos in Action config files 2020-11-20 11:11:17 +01:00
Robert 3d5127d682
Update action.yml 2020-09-15 17:45:34 +01:00
Nick Fyson 77f767cb34 add optional workflow input to specify whether snippets are added to sarif output 2020-09-10 18:26:58 +01:00
Robert Brignull 9e342a9b83 rename the action entrypoint files 2020-08-24 15:15:26 +01:00
Robert Brignull aaeb9751bb use all available threads for analysis 2020-08-14 14:24:08 +01:00
Robert Brignull c7c1aa8045 fix undeclared action inputs 2020-07-16 14:54:15 +01:00
Alex Kalyvitis d55f711b71 introduce inputs.threads flag to analyze action 2020-06-22 13:27:03 +02:00
Chris Gavin fa0a733046
Use the full amount of memory available when running queries. 2020-05-14 17:31:03 +01:00
anaarmas 28ccc3db2d Initial commit (from f5274cbdce4ae7c9e4b937dcdf95ac70ae436d5f) 2020-04-28 17:23:37 +02:00