{% for repo in repos %} {% endfor %}
Repository Tag Branch Protection Environments CODEOWNERS Secrets Rulesets Issues
{{ repo.name }} {% if not repo.private %}{% endif %} {% for topic in repo.topics %} {{ topic }} {% endfor %} {% if repo.branch_protection.protected %} {{ repo.branch_protection.default_branch }} {% else %} {{ repo.branch_protection.default_branch }} {% endif %} {% for env in repo.environments %} {{ env.name }}
{% endfor %}
{% if repo.codeowners.files | length >= 1 %} {% for file in repo.codeowners.files %} {{ file }} {% endfor %} {% else %} No {% endif %} {% if repo.secrets.keys() | list | length > 0 %}
{{ repo.secrets_str }}
{% endif %}
{% if repo.rulesets | length > 0 %} Yes {% else %} No {% endif %} {% if repo.issues | length > 0 %} {% for issue in repo.issues %} {% if issue.level == "high" %}  {{ issue.message }}
{% elif issue.level == "medium" %}  {{ issue.message }}
{% elif issue.level == "low" %}  {{ issue.message }}
{% else %} {{ issue.message }}
{% endif %} {% endfor %} {% endif %}