You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Schema Inaccuracy] community-profile files.issue_template is null for a .github/ISSUE_TEMPLATE/ directory the community page counts #7187
The community-profile schema (GET /repos/{owner}/{repo}/community/profile) describes files.issue_template as a nullable community-health-file, and the operation summary says the response reports "the presence of ISSUE_TEMPLATE, PULL_REQUEST_TEMPLATE, README, and CONTRIBUTING files". At runtime the field is null for every repository whose templates live under .github/ISSUE_TEMPLATE/ (Markdown or YAML issue forms), even though the community profile page marks "Issue templates" as added and health_percentage counts them. The field is only non-null for the single legacy file .github/ISSUE_TEMPLATE.md.
Expected
Either the runtime behavior matches the description (the field reports the same presence the community page and health_percentage use, so a .github/ISSUE_TEMPLATE/ directory counts), or the description of files.issue_template says that it only reports the legacy single file ISSUE_TEMPLATE.md and not a templates directory, so a consumer knows to list the directory instead.
Reproduction Steps
Measured on 2026-09-12 against public repositories:
# .github/ISSUE_TEMPLATE/ holds four YAML issue forms and config.yml; the community page shows 100 % with "Issue templates" added
curl -s -H "Authorization: Bearer $TOKEN" -H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/jmrplens/gitlab-mcp-server/community/profile | jq '{health_percentage, issue_template: .files.issue_template}'# {"health_percentage": 100, "issue_template": null}# .github/ISSUE_TEMPLATE/ holds three Markdown templates
curl -s ... https://api.github.com/repos/cli/cli/community/profile | jq '{health_percentage, issue_template: .files.issue_template}'# {"health_percentage": 100, "issue_template": null}# the single legacy file .github/ISSUE_TEMPLATE.md
curl -s ... https://api.github.com/repos/github/gh-ost/community/profile | jq '.files.issue_template.url'# "https://api.github.com/repos/github/gh-ost/contents/.github/ISSUE_TEMPLATE.md"
Activity
donbaroag-sys commentedon Sep 17, 2026
Yoyo
feat(issue-body-contract): add the issue-body contract and generate t…