Skip to content

Private repos: add a visibility profile to repo_audit.py and the Action #75

Closed

Description

@drevendev

Reader problem

On a private or internal repository, the audit warns about a missing licence, which may not apply, but never asks for what internal readers need most: who owns the repository and how to reach them.

Evidence

  • tools/repo_audit.py: a missing licence is a warning and a missing contributing guide is info. There is no profile option and no owner/contact rule.
  • action.yml has no profile input. guides/repository-audit.md describes the licence warning.

Acceptance

  • Add --profile public|internal|private, defaulting to public. Default output stays byte-identical and existing tests pass unchanged.
  • Under internal and private:
    • license.missing becomes info, with the remediation "state internal-use terms or link the company policy";
    • a new readme.owner_contact warning fires when the README has no owner, contact or support section.
  • Add readme.absolute_repo_asset for every profile. It flags images served from raw.githubusercontent.com or github.com/.../raw/, which break in clones and mirrors and for readers without a session.
  • JSON output records profile. The Action gets an audit-profile input, validated like checks.
  • Add tests per profile. The guide states that remote settings are still not inspected; detection stays offline, so the profile is never auto-detected.

Open questions

  • Bump the JSON schema_version, or add an optional key?
  • Should internal expect a CONTRIBUTING file (innersource)?

Related: #69

Activity

  1. added
    enhancement
    private-repos
    on Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementprivate-repos

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions