mod-nag: install fj in runner image once it is stable #1
Labels
No labels
mod-nag
mod-nag
mod-nag
mod-nag
mod-nag/ignore
mod-nag/ignore
mod-nag/ignore
mod-nag/ignore
nagonag
nagonag/ignore
bug
doc
duplicate
enhancement
help wanted
invalid
question
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
IUS/workflows#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
.forgejo/workflows/mod-nag.yamlnow usesfjfor label, issue, PR, and comment operations. To avoid baking an unstable tool into the runner image, every call is currently routed through:That works but pays a download + compile cost on first use of each job (Go's build cache amortises the rest of the same job).
Once
fj(https://git.schlittermann.de/heiko/fj) is stable, switch to a pre-installed binary:In
mod-nag/Dockerfile, add a step like:In
.forgejo/workflows/mod-nag.yaml, replace eachFJ="go run go.schlittermann.de/heiko/fj@latest"line withFJ=fj(or drop the variable entirely and callfjdirectly).Update the validation checklist in
.claude/CLAUDE.mdandmod-nag/README.mdto addfjto the list of required tools in the image.Blockers / context:
fjAPI is settled — pinning a tag will help avoid breaking the workflow on unrelatedfjchanges.fjneeds--label/--search/--head/--pageflags onissue list/pr listbefore all remainingcurlcalls in mod-nag can be removed. See fj#5 and fj#6.AI attribution comment added per repository instruction for this open issue.\n\n(co)authored by ai:gpt-5-codex