From ae28d5452c672eaa2f274569ecb4a8caf9f516aa Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Tue, 24 Nov 2026 22:07:08 +0000 Subject: [PATCH] ci(molecule): correct the stale fork claims The molecule.yml header said only trusted people can open pull requests here; an outsider can open a fork pull request. It now names the two boundaries: write access, and Gitea's approval gate on fork runs, kept shut by the fork rule in reviewing.md. The fork guard in the job's if: stays a convenience filter. The Molecule rule in .gitea/workflows/AGENTS.md says the same, and issue-tracker.md says fork pull requests are closed with a pointer to issues. Closes #178 Assisted-by: Claude Code --- .gitea/workflows/AGENTS.md | 8 +++++--- .gitea/workflows/molecule.yml | 4 ++-- docs/agents/issue-tracker.md | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/AGENTS.md b/.gitea/workflows/AGENTS.md index 1d3c76a..3eb7b66 100644 --- a/.gitea/workflows/AGENTS.md +++ b/.gitea/workflows/AGENTS.md @@ -64,9 +64,11 @@ issue. ## Molecule - **Molecule runs on every same-repository pull request, Renovate's included, with no path - filter.** A fork pull request is skipped by the job's `if:`, which is a convenience: a fork - controls its own workflow file. *Why:* a check that always reports can be required, and a new - image is tested by its own pin pull request. *Held:* review. + filter.** A fork pull request is skipped by the job's `if:`, which is a convenience, not a + boundary: a fork controls its own workflow file. Gitea's approval gate keeps a fork's runs from + starting, and the fork rule in [reviewing.md](../../docs/contributing/reviewing.md) keeps it + shut. *Why:* a check that always reports can be required, and a new image is tested by its own + pin pull request. *Held:* review. - **What a pull request runs is chosen by `scripts/select_molecule_scenarios.py`:** the scenarios of the roles it changes and of the roles that use them (any file naming `mortis.kamino.`, transitively), none for a diff of only IGNORED paths, a failure for a diff --git a/.gitea/workflows/molecule.yml b/.gitea/workflows/molecule.yml index d5b2853..d1bd890 100644 --- a/.gitea/workflows/molecule.yml +++ b/.gitea/workflows/molecule.yml @@ -8,8 +8,8 @@ name: Molecule # Docker daemon; no job container is given the Docker socket. That makes the job # root-equivalent on the runner, which is disposable and holds no secret from outside # this repository. The `if:` guard is a convenience filter, not a boundary: a fork controls its -# own workflow file. So the repository does not accept fork pull requests; the real -# condition is that only trusted people can push branches or open pull requests here. +# own workflow file. The boundaries are write access, which only trusted people have, and Gitea's +# approval gate on fork runs, which the fork rule in docs/contributing/reviewing.md keeps shut. # # molecule runs in the pinned ci image via `docker run` with the runner's Docker socket, so the # scenario containers start beside it on the runner's daemon; the job tree is mounted at the same diff --git a/docs/agents/issue-tracker.md b/docs/agents/issue-tracker.md index 41d5841..c162830 100644 --- a/docs/agents/issue-tracker.md +++ b/docs/agents/issue-tracker.md @@ -27,7 +27,7 @@ The Conventions below hold whatever client you use; the Tool section gives the s ## Pull requests as a triage surface -**PRs as a request surface: no.** Fork and AGit pull requests are closed unmerged ([reviewing.md](../contributing/reviewing.md)), so PRs do not enter the triage queue. Set to `yes` only if that changes. +**PRs as a request surface: no.** Fork and AGit pull requests are closed unmerged with a pointer to issues ([reviewing.md](../contributing/reviewing.md)), so PRs do not enter the triage queue. Set to `yes` only if that changes. ## Tool -- 2.43.0