Workflow names now match their file stems, so the Actions list and the
files read the same; generate-deps-relation-r1.yml becomes
deps-table.yml after the branch it maintains. Steps are lowercase and
verb-first, every step is named, and the autobump-rb checkout has one
name everywhere.
Also use 4-space step indentation, fromJSON, bare if: expressions,
github.actor for every ghcr login, uppercase env names, and the
GITHUB_REPOSITORY and GITHUB_REPOSITORY_OWNER variables the runner
already sets instead of REPO and OWNER copies. No behaviour changes.
Signed-off-by: Zakk <zakk@gentoozh.org>
Jobs inherited write scopes they never use, so each workflow now
defaults to contents: read and grants pull-requests: read or
packages: write only to the jobs whose GITHUB_TOKEN calls need them.
The autobump bump job keeps its own block.
Failures that read as success now fail the step: a failed gh call in
nvchecker-check.py no longer reads as "no issue" and opens a duplicate,
and fleet-keeper no longer reports "found 0" when listing repositories
or workflows fails.
emerge-targets.sh took =cat/foo-bar-1.0 for a version of cat/foo, so a
PR touching both dropped cat/foo; only a digit after the dash starts a
version.
setup-gentoo added the x86-64 binhost on arm64 as well; it is now
added on amd64 only.
mirror-to-codeberg trusted whatever ssh-keyscan returned while holding
a write key; the host key is now pinned and checked.
stage3 cleanup ran even when build was skipped on a fork schedule.
Signed-off-by: Zakk <zakk@gentoozh.org>
stage3, nvchecker and autobump each had a schedule of their own, and
GitHub starts each 5-8 hours late, so their order shifted from day to
day. daily.yml is now the only schedule: it calls stage3, then
autobump-env on the fresh stage3, and nvchecker in parallel; autobump
runs when daily completes and autobump-wait after it, as before.
The steps are reusable workflows rather than a workflow_run chain,
because workflow_run stops after three levels and autobump-wait would
already be the fourth.
- daily runs at 00:17 UTC, so autobump-env carries the date the bumps
run on and autobump starts without building its image.
- autobump drops its 11:00 schedule: autobump-wait already dispatches
it again once the missing bundles are ready.
- stage3, autobump-env and nvchecker keep workflow_dispatch; nvchecker
run by hand still starts autobump.
Codeberg mirroring no longer runs on every branch deletion: merged
autobump branches queued dozens of runs a day, and the next push or the
daily run prunes them anyway.
Signed-off-by: Zakk <zakk@gentoozh.org>