Skip to main content

이 버전의 GitHub Enterprise Server는 다음 날짜에 중단됩니다. 2026-03-17. 중요한 보안 문제에 대해서도 패치 릴리스가 이루어지지 않습니다. 더 뛰어난 성능, 향상된 보안, 새로운 기능을 위해 최신 버전의 GitHub Enterprise Server로 업그레이드합니다. 업그레이드에 대한 도움말은 GitHub Enterprise 지원에 문의하세요.

Error: "is not a .ql file, .qls file, a directory, or a query pack specification"

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.