You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
help="Path to a CodeQL bundle downloaded from https://github.com/github/codeql-action/releases",
type=click.Path(exists=True, path_type=Path),
)
@click.option(
"-o",
"--output",
required=True,
help="Path to store the custom CodeQL bundle. Can be a directory or a non-existing archive ending with the extension '.tar.gz' if there is only a single bundle",
type=click.Path(path_type=Path),
)
@click.option(
"-w",
"--workspace",
help="Path to a directory containing a 'codeql-workspace.yml' file or a path to a 'codeql-workspace.yml' file",
type=click.Path(exists=True, path_type=Path),
default=Path.cwd(),
)
@click.option(
"--no-precompile", "-nc", is_flag=True, help="Do not pre-compile the bundle."
f"The provided bundle supports the platform(s) {', '.join(map(str, bundle.platforms))}, but doesn't support the following platform(s): {', '.join(unsupported_platforms)}"
)
sys.exit(1)
logger.info(f"Looking for CodeQL packs in workspace {workspace}")
packs_in_workspace=bundle.get_workspace_packs()
logger.info(
f"Found the CodeQL pack(s): {','.join(map(lambdap: p.config.name, packs_in_workspace))}"
)
logger.info(
f"Considering the following CodeQL pack(s) for inclusion in the custom bundle: {','.join(packs)}"