Repository navigation
Private repositories: run once per pull request, when it becomes ready - #3
Merged
Merged
Conversation
In a private repository the test, QA and Runic jobs ran on every push to an open pull request. They now run when a pull request is opened or reopened as not a draft, or when a draft is marked ready, and on manual dispatch. A later push to the pull request skips every job, as push and schedule already did. Public repositories are unchanged. The new assume-private input removes the public clauses from the job conditions, so the self-test can run the private schedule in this public repository. The self-test calls the workflow twice, with and without it, and a last job fails unless exactly the jobs expected for the event ran. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ivate input Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
kalidke
marked this pull request as draft
November 14, 2026 20:44
kalidke
marked this pull request as ready for review
November 14, 2026 20:44
Member
Author
Self-test resultsHead
The check has teeth: on a throwaway branch (deleted) whose gate ignored Not tested here: a job running in a real private repository under this change. What the private schedule rests on, and how each was checked:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
In a private repository, the
test,qaandformatjobs ofjulia-ci.ymlnow run:openedorreopenedwhen it is not a draft, orready_for_review;workflow_dispatch.They no longer run on a later push to an open pull request (
synchronize). Push and schedule already skipped. A public repository runs exactly what it ran before. The callers (templates/CI.yml) do not change.Why: hosted minutes on a private repository are paid, and a run on every push to a pull request repeats what the local test record already checks (admiral decision 0025).
To test a later commit on GitHub, start the
CIworkflow by hand on the branch (Actions tab, orgh workflow run CI.yml --ref <branch>).How
The job conditions stay an allow-list. The
pull_requestclause now also requiresgithub.event.actionto be one ofopened,reopened,ready_for_review; a public repository still passes through its own clause on every event.A new boolean input,
assume-private(defaultfalse), removes the public clauses, so a public repository can run the private schedule. It cannot make a private repository run more. The self-test uses it to exercise the private schedule in this public repository.Self-test
selftest.ymlnow calls the workflow twice, as the public repository and withassume-private, and a last job,Expected jobs ran, restates the rule from the event and fails unless exactly those jobs ran and succeeded.Results on this pull request are listed in a comment below.
Known behavior, unchanged callers
The caller cancels an in-progress run when a newer pull request event arrives. In a private repository a push while the one run is still going therefore cancels it, and the new run skips every job. The README says so.
🤖 Generated with Claude Code