Skip to content

Private repos: document private, enterprise and mirrored use of the Action; test the no-network promise #79

Closed

Description

@drevendev

Reader problem

guides/adopting-the-checks.md assumes github.com, an organisation that allows public actions, cheap runner minutes, and internet access. None of that is guaranteed for private or enterprise repositories.

Acceptance

  • Add a "Private and enterprise repositories" section covering:
    • organisation action policies (allow-list drevendev/BeautifulRepo@<sha>; compatible with "require full-length SHA pinning");
    • minutes (Linux runners, timeout-minutes: 5; Windows and macOS cost more);
    • an internal mirror, uses: <org>/<mirror>@<same sha>, with a check that the SHAs match;
    • GitHub Enterprise Server (GitHub Connect, actions-sync or a mirror);
    • GHE.com (no Marketplace; namespace retirement);
    • self-hosted runners (need bash and Python 3.11+);
    • running without Actions, using the local commands.
  • Add a contract test that fails if tools/*.py import socket, http, urllib.request, ssl or subprocess, or if action.yml calls curl, wget or gh. The promise "no network requests" then has a guard.
  • Label Enterprise Server and GHE.com guidance as untested.

Open question

  • Is an Enterprise Server or GHE.com environment available for a real test?

Activity

  1. added
    documentation
    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

    documentationprivate-repos

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions