CodeQL library for GitHub Actions
codeql/actions-all 0.6.3 (changelog, source)
Search

Predicate enabledDeploymentEnvironmentDataModel

Holds for deployment environments that exist with name for a given repository.

    • ‘name’ is the name of the environment defined. E.g. for the deployment environment environment: EnvironmentInRepo, name is EnvironmentInRepo. Requires this to be externally supplied but once done can be used to toggle precision of whether that suffices or not as a control check by contributing to EnvironmentCheck.

Import path

import codeql.actions.config.ConfigExtensions
predicate enabledDeploymentEnvironmentDataModel(string name)