Skip to content

Alt/lean - #231

Closed
1r0n51uv wants to merge 7 commits into
lippdev:mainfrom
1r0n51uv:alt/lean
Closed

1r0n51uv wants to merge 7 commits into
lippdev:mainfrom
1r0n51uv:alt/lean

Conversation

@1r0n51uv

Copy link
Copy Markdown

No description provided.

1r0n51uv and others added 7 commits November 25, 2026 14:58
Italian catalog, installer language, tests and docs; version 1.7.2.
Update checks and release notes now use 1r0n51uv/consolemode.

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
* Add Italian README

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* Link the Italian README from the French and Russian ones

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
fork-sync.yml decides after the CI of a sync/vX PR: a clean sync (no
conflicts, only Italian catalog, changelogs and version lines changed on
top) is merged and released; anything else gets needs-review. FORK.md
tells the keeper agent what the fork changed.

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Drops the TV settings tab, its services and strings; the System tabs after it are renumbered.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…e es/de/fr/ru languages

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ean edition

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@1r0n51uv 1r0n51uv closed this Nov 25, 2026

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Caution

The privileged sync workflow can validate one branch and merge a different fork PR, bypassing its file allowlist and triggering a release.

Approach: The lean-edition removals are documented and internally consistent, but the new auto-merge/release path does not bind its validation to the PR head it merges.

Reviewed changes This review covers the full 85-file, 7-commit PR.

  • Lean edition: Removes TV control, RTSS FPS features, per-game profiles, local control APIs, DDC/CI power-off, and four language catalogs.
  • Italian and fork release support: Adds the Italian catalog/docs and routes update/release links to the fork.
  • Fork sync automation: Adds a privileged workflow_run that checks sync PRs, merges clean ones, and starts a release.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using gpt-6-luna | 𝕏

set -euo pipefail

tag=${BRANCH#sync/}
pr=$(gh pr list --head "$BRANCH" --state open --json number,headRefOid,labels \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This lookup selects the first open PR with this branch name, but the checks below validate origin/$BRANCH rather than that PR's actual head. A fork PR named sync/v… can therefore be merged with its arbitrary changes while the script checks a different, trusted branch; the privileged workflow then starts a release.

Technical details
# Bind sync validation to the PR being merged

## Affected sites
- `.github/scripts/fork-sync.sh:14-20` — selects a PR by branch name and records its head SHA without verifying its head repository or base.
- `.github/scripts/fork-sync.sh:42-74` — validates `origin/$BRANCH` and compares its changes to the allowlist, not the selected PR's head.
- `.github/scripts/fork-sync.sh:76` — merges the selected PR with the privileged token.
- `.github/workflows/fork-sync.yml:12-16, 24` — grants write permissions and invokes this path for branch names matching `sync/v`.
- `.github/scripts/fork-sync.sh:80-84` — dispatches the release with `publish=true` after merge.

## Required outcome
- Ensure the exact PR head repository, SHA, base branch, and tree checked by the allowlist are the same head that is merged; do not auto-merge an untrusted fork PR based only on a colliding branch name.

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.

1 participant