Workflow execution protections on Free/private: enforcement, reruns and built-in exemptions #214673
Unanswered
vnextmodel
asked this question in
Actions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
💬 Feature/Topic Area
Workflow Configuration
Discussion Details
We need a precise product-supportability clarification before considering workflow execution protections as a mandatory admission boundary. No configuration changes, workflow dispatches, reruns, new identities or paid plan have been authorized for this clarification.
Scenario: a GitHub Free organization with private repositories, standard GitHub-hosted runners, and an organization-level Active Actions policy targeting every workflow in the selected repositories. The intended routine execution actor would be one dedicated GitHub App installation. Code contributors and other integrations must not be able to consume runners by bypassing this actor restriction. The organization owner remains a trusted administrator who can deliberately change policy; we are not asking to prevent an owner from removing controls.
Please answer the following with the current supported behavior on GitHub.com, ideally with official documentation or a product-team reference:
Free and private eligibility. Are customer-created Active actor/event restrictions actually enforced on private repositories owned by a Free organization, both at organization and repository policy levels? Does any part require Team or Enterprise? Seeing the policy form is not sufficient evidence of enforcement. The GA roadmap includes the Free SKU, while an indexed version of the documentation source retained a private-repository Team/Enterprise qualification that is absent from the directly retrieved current source. Please clarify the supported entitlement, separately from Evaluate mode.
Timing and complete targeting. Does rejection happen before any job is assigned/provisioned to a GitHub-hosted runner? If workflow_path is omitted on policy creation, does the policy also cover workflows added afterwards, renamed files, non-default branches/tags, and historical workflow definitions? Does revalidation use the currently Active policy rather than the policy that existed when the original run was created? Please identify exceptions, including nested/reusable workflow behavior.
Rerun identity and revalidation — decisive case. App installation A starts a permitted run R. User U has repository write access but is excluded by the Active actor rule. If U requests (a) rerun all jobs, (b) rerun failed jobs, or (c) rerun one job, via UI or REST, is each request rejected before any runner allocation? Is the policy applied to the actual rerun requester or only to R's original actor? The rerun documentation says original-actor privileges are reused; that does not establish which identity the execution policy checks. If U is not rejected, is there a supported native way to prevent these reruns while retaining the required code-writing collaboration? Please distinguish authorization of the requester from the privileges inside the rerun.
Technical identities. For restrict_actions_actors, how do App and IntegrationInstallation match the actual execution identity? Please distinguish an installation access token, a GitHub App user access token, and GITHUB_TOKEN. Can admission be restricted to one installation without also allowing unrelated callers authenticated as the original user or another installation of that App? Does the same matching apply to all rerun endpoints?
Built-in exemptions. The control-workflow-execution documentation exempts built-in GitHub feature processes. Which processes bypass actor restrictions, event restrictions, or both? Which can draw from the organization's included compute? For every chargeable exempt process, what supported organization/repository setting can prevent it before runner allocation? Please address applicability to Copilot code review and other built-in processes; no assumption is being made that these are enabled in any particular organization. Distinguish built-in processes from customer workflows triggered by a bot such as dependabot[bot].
Minimal discrimination if documentation cannot settle this. Can GitHub provide a server-side evaluation/dry-run or confirm behavior using its own isolated fixture, without changing customer repositories or allocating billable runners? If customer testing is indispensable, please specify the smallest discriminating fixture and required permissions, including how to distinguish policy rejection from workflow/job skipping. We have not authorized customer dispatches, reruns, or test execution; a successful policy creation/readback alone will not prove the runner boundary.
We understand that these policies do not implement an accumulated compute budget or an atomic one-use reservation. That would be handled separately only if the native boundary can be shown to reject all relevant routine bypasses. Please identify an unsupported requirement explicitly rather than proposing a plan upgrade that leaves the rerun or exemption gap unresolved.
References:
All reactions