Consider the query below. It works very well. But I would like to filter by “path”
{
project(fullPath: "dba/dbmanager") {
name
mergeRequests{
edges {
node {
mergedAt
diffStats{
path
}
}
}
}
}
}
How to get only files wich the path is like “/migrations/*.sql”?
All SQL files are in “dba/dbmanager/migrations”
“dba” is a group, “dbmanager” is a repository and migration is a project
Some examples of real files:
“dba/dbmanager/migrations/2021/10/stp_faturarpedido.sql”
“dba/dbmanager/migrations/prescript/prepare.sql”