Skip to main content

Эта версия GitHub Enterprise Server будет прекращена 2023-12-20. Исправления выпускаться не будут даже при критических проблемах безопасности. Для повышения производительности, повышения безопасности и новых функций выполните обновление до последней версии GitHub Enterprise Server. Чтобы получить справку по обновлению, обратитесь в службу поддержки GitHub Enterprise.

Ошибка: "не является файлом .ql, .qls, каталогом или спецификацией пакета запросов"

CodeQL was unable to locate one of the queries or sets of queries that are specified for analysis.

About this error

Is not a .ql file, .qls file, a directory, or a query pack specification.

You will see this error if CodeQL is unable to find the named query, query suite, or query pack at the location requested in the workflow.

Confirming the cause of the error

There are two common reasons for this error:

  • There is a typo in the workflow.
  • A resource the workflow refers to by path was renamed, deleted, or moved to a new location.

Fixing the problem

After verifying the location of the resource, you can update the workflow to specify the correct location.