Commit Graph
2 Commits
Author SHA1 Message Date
Zakk 8900587f7b .github: narrow token scopes and fix silent CI failures
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>
2026-10-11 04:26:16 +11:00
Zakk 46d0513c78 .github/workflows/nvchecker.yml: skip new versions Portage cannot parse
nvcmp --sort portage raises TypeError on a new version that Portage
cannot parse. On 2026-10-04 the tag mobile-v0.1.5 failed the whole job,
so the job opened no bump issue for any package.

scripts/nvchecker-check.py restores the old version of such an entry,
so nvcmp still compares the other packages, and opens one issue per
package and version that CCs the package maintainers. It also prints a
warning for each package whose upstream returned no version.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-05 20:35:32 +11:00