From 3cb70c885847e4e9840f3bfb632d7d2066a4b2a6 Mon Sep 17 00:00:00 2001 From: Nick Fyson Date: Thu, 13 Aug 2020 11:38:40 +0100 Subject: [PATCH] add root action.yml --- action.yml | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 action.yml diff --git a/action.yml b/action.yml new file mode 100644 index 000000000..7d402f8d1 --- /dev/null +++ b/action.yml @@ -0,0 +1,47 @@ + +name: 'CodeQL' +description: 'TODO' +author: 'GitHub' +inputs: + token: + default: ${{ github.token }} + matrix: + default: ${{ toJson(matrix) }} + # inputs for pre-hook + tools: + description: URL of CodeQL tools + required: false + # If not specified the Action will check in several places until it finds the CodeQL tools. + languages: + description: The languages to be analysed + required: false + config-file: + description: Path of the config file to use + required: false + # inputs for main + check_name: + description: The name of the check run to add text to. + required: false + output: + description: The path of the directory in which to save the SARIF results + required: false + default: '../results' + upload: + description: Upload the SARIF file + required: false + default: "true" + ram: + description: Override the amount of memory in MB to be used by CodeQL. By default, almost all the memory of the machine is used. + required: false + threads: + description: The number of threads to be used by CodeQL. + required: false + default: "1" + checkout_path: + description: "The path at which the analyzed repository was checked out. Used to relativize any absolute paths in the uploaded SARIF file." + required: false + default: ${{ github.workspace }} +runs: + using: 'node12' + pre: '../lib/setup-tracer.js' + main: '../lib/finalize-db.js'