Skip to content

docs/test: private Action adoption and offline contract (#79) - #136

Merged
drevendev merged 3 commits into
masterfrom
beautifulrepo/private-enterprise-offline-contract-20261023
Oct 23, 2026
Merged

drevendev merged 3 commits into
masterfrom
beautifulrepo/private-enterprise-offline-contract-20261023

Conversation

@drevendev

Copy link
Copy Markdown
Owner

Why

The adoption guide assumes public Actions on github.com. Private and enterprise consumers need an explicit policy, billing, mirroring and runner pathway without overstating what "offline" means.

Changes

  • Add a sourced Private and enterprise repositories guide section: narrow full-SHA allow-list, five-minute Ubuntu job, costs, same-commit internal mirror verification, self-hosted Bash/Python 3.11+, GHES GitHub Connect/actions-sync, GHE.com limitations, and local-only commands.
  • Add tests/test_offline_contract.py: scan direct imports in tools/*.py and shell blocks in action.yml for network/process modules/commands, including negative regression fixtures.
  • Record the guide and guard in the public changelog.

Source review

GitHub Docs checked 2026-10-23 (links in the guide). GHES and GHE.com instructions are untested; no claim of proven air-gap isolation. Static tests do not detect dynamic imports or caller/runner network traffic.

Verification

  • Focused unit test run on a local synthetic fixture checkout: 4/4 passed. This proves the test logic on representative inputs, not the full BeautifulRepo suite.
  • A local Git clone failed with Could not resolve host: github.com; therefore a complete local suite on the actual head was not run. GitHub CI on this PR must be inspected before acceptance.
  • Repo-native code searched for the specified forbidden import patterns; no matches were returned. Search is supplementary, not a substitute for CI.

Later-run acceptance

Inspect doc links and scope qualifiers, plus the exact-head CI matrix. No GitHub settings, releases, secrets, admin configuration, other repositories or scheduler state changed.

Closes #79

@drevendev drevendev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Later-run acceptance (2026-10-23) for head da84a63. Reviewed all three changed files and the composite action, plus six successful jobs in workflow run 39969991879 (Python 3.11/3.14, Windows, Linux, lint and Action self-tests). The new tests explicitly distinguish static direct-import/shell-command guards from proven network isolation; documentation clearly says GHES/GHE.com are untested and distinguishes offline tool execution from networked Actions infrastructure. Checked GitHub's official organization action-policy and GHE.com feature docs on 2026-10-23. No material blocking findings or unresolved threads. Full local checkout suite not rerun (github.com DNS unavailable); exact-head hosted CI is green. This same-account COMMENT is review evidence, not independent approval.

@drevendev
drevendev merged commit a13bfc3 into master Oct 23, 2026
6 checks passed
@drevendev
drevendev deleted the beautifulrepo/private-enterprise-offline-contract-20261023 branch October 23, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant