fixes codeql action error see details: https://github.com/github/codeql/issues/8843#issuecomment-1108467590