As Document says You can provide multiple paths separated by commas
so could you try apps/frontend/green-app,apps/backend/green-app
?
And note that
codeqlpathstoinclude
setting applies only when you run the CodeQL tasks on an interpreted language (Python, Ruby, and JavaScript/TypeScript).