Mirror to GitLab from GitHub Actions; docs: GitHub is home, GitLab the mirror

A push to main or a v* tag on GitHub is forwarded to gitlab.com by a workflow, fast-forward
only, main before the tags so the tag pipeline finds its commit on main. Pull mirroring on
gitlab.com is paid, so the push runs from this side; it needs a project token with the single
scope write_repository (Maintainer role, for the protected main and v*) as the secret
GITLAB_MIRROR_TOKEN, handed to git through a credential helper rather than a URL.

README, CONTRIBUTING, MOBILE and the changelog now say what the site says: issues and pull
requests on GitHub, the GitLab mirror only for the CI that builds the release artefacts, the
merge requests still open there reviewed until they are through.
This commit is contained in:
Duarte Santos committed 2026-09-11 11:58:39 +02:00
1 parent 0c18a808ce
commit 38a0b52e36
5 files changed
+102 -44

No files matched your search

+2 -2
View File
@@ -91,10 +91,10 @@ The official signed APK is in four places, all the same file:
- **[GitLab's package registry](https://gitlab.com/DuarteSantos8/opengym/-/packages)** — every
build under `opengym-android/<version>/`, with a `.sha256` beside it. Direct link, no login:
`https://gitlab.com/api/v4/projects/85678327/packages/generic/opengym-android/<version>/openGym-<version>.apk`
- **[The GitLab release](https://gitlab.com/DuarteSantos8/opengym/-/releases)** for that version,
which links to the two above.
- **[The GitHub release](https://github.com/DuarteSantos8/openGym/releases)** for that version,
with the APK and its `.sha256` attached as release assets.
- **[The GitLab release](https://gitlab.com/DuarteSantos8/opengym/-/releases)** on the mirror,
where the file is built; it links to the package registry above.
Android asks you to allow installs from the browser the first time — that's standard for any
app outside the Play Store. Check the `.sha256` if you got the file from anywhere else.