Files
codeql-action/resolve-environment/action.yml
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
1.1 KiB
YAML
Raw Normal View History

name: 'CodeQL: Resolve Build Environment'
2023-06-13 20:42:35 +01:00
description: '[Experimental] Attempt to infer a build environment suitable for automatic builds'
author: 'GitHub'
2023-05-26 11:38:42 +01:00
inputs:
2023-05-26 11:45:55 +01:00
token:
description: "GitHub token to use for authenticating with this instance of GitHub. The token must be the built-in GitHub Actions token, and the workflow must have the `security-events: write` permission. Most of the time it is advisable to avoid specifying this input so that the workflow falls back to using the default value."
2024-02-08 04:45:27 -05:00
required: false
2023-05-26 11:45:55 +01:00
default: ${{ github.token }}
matrix:
default: ${{ toJson(matrix) }}
2023-05-26 11:38:42 +01:00
language:
description: The language to infer the build environment configuration for.
required: true
2023-05-26 12:12:12 +01:00
working-directory:
description: >-
2023-06-13 20:44:48 +01:00
Resolve the build environment based on the files located at the specified
path (relative to $GITHUB_WORKSPACE). If this input is not set, then the
build environment is resolved based on the files in $GITHUB_WORKSPACE.
2023-05-26 12:12:12 +01:00
required: false
2023-05-26 11:38:42 +01:00
outputs:
2023-05-26 12:09:33 +01:00
environment:
2023-05-26 11:38:42 +01:00
description: The inferred build environment configuration.
runs:
using: node20
2026-05-14 14:47:23 +01:00
main: '../lib/resolve-environment-entry.js'