Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
d9f26fc
feat(cli): add a GitHub expression folder for the Forgejo port
yannickmonney Oct 12, 2026
d1ec1bd
feat(cli): read, fold and write a workflow for the Forgejo port
yannickmonney Oct 12, 2026
d5e6fce
feat(cli): rewrite a workflow's triggers for Forgejo
yannickmonney Oct 12, 2026
46653ed
feat(cli): remove GitHub-only machinery and port host-mode jobs
yannickmonney Oct 12, 2026
09f4233
refactor(cli): scope the Forgejo port's facts to jobs
yannickmonney Oct 14, 2026
1cb0891
feat(cli): port action references and the build cache for Forgejo
yannickmonney Oct 14, 2026
1becc12
feat(cli): add the readiness job of a ported Checks workflow
yannickmonney Oct 14, 2026
ad86f59
feat(cli): port the rules that know Tale's workflows by name
yannickmonney Oct 14, 2026
711056b
feat(cli): generate and validate Forgejo workflows from the GitHub ones
yannickmonney Oct 14, 2026
f5dfa8a
feat(cli): keep the pull request tier in the Forgejo port
yannickmonney Oct 14, 2026
e401198
feat(cli): add the forgejo-port command and what holds it to Forgejo
yannickmonney Oct 14, 2026
14877a4
feat(cli): let the Forgejo port choose what a pull request owes
yannickmonney Oct 14, 2026
49c7d86
feat(cli): leave a release's manual CLI build out of the Forgejo port
yannickmonney Oct 14, 2026
95728f5
fix(cli): pin the upload-artifact fork that Forgejo 15 accepts
yannickmonney Oct 14, 2026
6069b1c
feat(cli): say what the node must hold for the ported workflows
yannickmonney Oct 14, 2026
f988bb2
docs(cli): say what a pull request owes on Forgejo in CI.md
yannickmonney Oct 14, 2026
e774bd0
docs(cli): drop the removed ai-gateway from the port's cache note
yannickmonney Oct 19, 2026
ed0f219
docs(cli): say what the Forgejo port leaves as it is
yannickmonney Oct 19, 2026
2e4a7a2
fix(cli): hold retired pages to main's merge base in the Forgejo port
yannickmonney Oct 19, 2026
afad9fc
fix(cli): point declared-checks.yml at the merge train's declaration
yannickmonney Oct 19, 2026
8cd5855
fix(cli): hold the node's mirror list to the cut-over check only
yannickmonney Oct 19, 2026
f641aae
docs(cli): say what the Forgejo port changes and what can fail its tests
yannickmonney Oct 19, 2026
6aeafca
fix(cli): say when the Forgejo port drops the volumes of a service
yannickmonney Oct 19, 2026
44f4ced
fix(cli): keep the pinned runner in a directory only its user can use
yannickmonney Oct 19, 2026
fb7103b
fix(cli): refuse generate --write over files edited by hand
yannickmonney Oct 19, 2026
174b6fe
docs(cli): state the reasons in the Forgejo port's comments
yannickmonney Oct 19, 2026
0e34fdf
docs(cli): say why the Forgejo port parses expressions itself
yannickmonney Oct 19, 2026
1285e41
fix(cli): read a runner cache's mode bits only where users own files
yannickmonney Oct 19, 2026
34c372c
fix(cli): fail the port's check when a rule has nothing to change
yannickmonney Oct 19, 2026
8602c15
docs(cli): list everything that fails the Forgejo port's unit tests
yannickmonney Oct 19, 2026
bd6befb
test(cli): probe the pinned runner with a workflow of its own
yannickmonney Oct 19, 2026
cdb8511
fix(cli): keep a status function the Forgejo port's fold would drop
yannickmonney Oct 19, 2026
ff65644
test(cli): hold every rule of the Forgejo port to the generator
yannickmonney Oct 19, 2026
a813c5e
fix(cli): fail the port's check on a local action it leaves as GitHub's
yannickmonney Oct 19, 2026
da4ed09
fix(cli): keep the status function of a condition true for every event
yannickmonney Oct 19, 2026
975878e
fix(cli): stop exporting a function only the port's command calls
yannickmonney Oct 19, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/CI.md
Original file line number Diff line number Diff line change
Expand Up @@ -1019,3 +1019,22 @@ rebuilt without it. Live proof is recorded under
[Activation and observation](#activation-and-observation) as it is observed.

The complete [release-candidate gate](RELEASING.md) remains required before tagging a release.

## Forgejo

`tools/cli/scripts/forgejo-port/` turns these workflows into the ones Forgejo's runner runs. It
is applied once, when the repository moves to Forgejo, and changes no workflow here until then;
the cut-over adds one condition, to the `publish` job of `publish-packages.yml`, so that it
publishes nothing once Forgejo is the source. The unit tests of `@tale/cli` run the port over
these workflows. They fail a change when the generator crashes on a workflow, when
`declared-checks.yml` no longer lists the `CI ready (…)` checks the workflows define (a change
that adds, renames or removes one runs `bun tools/cli/scripts/forgejo-port.ts checks --write`),
when a composite action or a script the port names is renamed or removed, or when `e2e.yml` or
`sast.yml` stops carrying the tier it is generated for.

On Forgejo a pull request owes what a batch of the merge train (a push to `mq/**`) owes, the
whole suite, so that a failure shows on the pull request and not in the train. A workflow whose
`tier` says `fast` owes this document's pull request tier instead, except that Security is not
path-scoped and runs on every pull request. The
[README](../tools/cli/scripts/forgejo-port/README.md) says what the port does and what stays on
GitHub; `bun tools/cli/scripts/forgejo-port.ts report` shows it on the workflows as they are.
Loading