Queries that fetched the default branch protection only match main or master branches. But the default branch could be anything.
It now use the default_branch column from the repository.
Also the reason was buggy when there no default branch protection. It also use the default_branch now.
Queries that fetched the default branch protection only match
main
ormaster
branches. But the default branch could be anything. It now use thedefault_branch
column from the repository.Also the reason was buggy when there no default branch protection. It also use the
default_branch
now.