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>
pkgcheck-comment runs master's scripts, but the artifact comes from the
pull request's merge ref, which can predate the change that added the
complete marker. Such an artifact was reported as a scan that did not
finish (#14536). Stage now writes an incomplete marker when the scan did
not finish, so an artifact without either marker reads as before.
Signed-off-by: Zakk <zakk@gentoozh.org>
A failed `pmaint sync` or `pmaint regen` left empty report files, and the
comment counted zero new findings and posted good. The scan now leaves a
complete marker and the comment reports a scan that did not finish.
New findings were keyed by package, keyword and version, so a second
finding of the same keyword in an existing version was taken for the old
one. They are now compared by their message without line numbers, counted
as a multiset.
The marker lookup only takes comments written by a bot, so a user comment
that quotes the marker is not edited.
Signed-off-by: Zakk <zakk@gentoozh.org>
Because the engine returns to master, restore the dispatched ref so
every trial target uses the selected scripts. Reuse the worker image
because it already supplies the trial setup and tools.
A skipped report job leaves no artifact, so skip its download and comment
instead of failing the comment workflow. Select a marker across all
comment pages because per-page lookup can return several comment IDs.
Signed-off-by: Zakk <zakk@gentoozh.org>