ci: a merge to main is the public release; every dev push dry-runs it (#8358)
release / web (push) Successful in 1m29s
release / go (push) Successful in 1m54s
release / govulncheck (push) Successful in 18s
release / integration (push) Successful in 2m44s
release / android (push) Successful in 2m9s
release / Build signed APK (push) Successful in 2m1s
release / Build + push container image (push) Failing after 4s

Every push now builds its image from the git archive export, after the
changelog and the leak gate have run on it, so a dev push is the public
release's dry run. A push to main then also commits and tags the export on
github.com/Fabled-Sword/minstrel as AmateurDungeoneer, publishes
ghcr.io/fabled-sword/minstrel :<name> and :latest, and creates the release
page on GitHub (public changelog) and on this forge (private changelog).

The scripts are Librarian's (ci/changelog.sh, ci/leakgate.sh,
ci/releases.mjs, with their tests), with Minstrel's false positives and a
changelog that ignores the forge-only v* tags from before the public
releases, so the first public release is the fixed note.

The tag build, its APK attach and its verify job, and the manual GHCR
dispatch are gone: phones get the app from the server image, and no
release carries a file. The push trigger has no path filter, because the
README, docs and tests ship in the public release too.

The README's image tags now name what GHCR carries: :latest and :<version>.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 20:07:36 -05:00
co-authored by Claude Opus 5.5
parent fde5cbbafd
commit 7ced019c77
11 changed files with 788 additions and 570 deletions
+20
View File
@@ -0,0 +1,20 @@
# Known false positives of ci/leakgate.sh, one extended regex per line, matched
# without regard to case. Each is cut out of a hit line before the line is
# tested again, so keep a pattern as narrow as the thing it allows.
# Words that contain a banned one.
jsonarray
readarray
# Drawing paths: SVG d attributes, Android pathData, and the path strings the
# web and Android icon sets keep, all of which start with a moveto, "M12".
d="[^"]*"?
pathdata="[^"]*"?
'M[0-9][^']*'
# The continuation lines of a long drawing path: numbers and path commands only.
^[-0-9 .,cmlzhvsqta]+$
# Material 3, the Android design system, in comments about its defaults.
\bM3('s)?\b
# CSS colours in hex, written as design tokens.
--[a-z-]+: [#][0-9a-f]{3,6};