fix: restore Forgejo workflow names #261

Merged
andres merged 4 commits from build/243-forgejo-workflow-name into main 2026-08-25 11:52:50 +00:00
Showing only changes of commit 21871de5ee - Show all commits

View file

@ -468,6 +468,10 @@ forge_pr_view() {
$st.statuses[]? | {
__typename: "StatusContext",
context: .context,
# Forgejo carries the workflow name only as the context prefix;
# no separator means no proven workflow, so never guess (#243).
workflowName: ((.context // "")
| if contains(" / ") then split(" / ")[0] else "" end),
state: (.status | ascii_upcase),
# checks_state groups repeated contexts and takes the NEWEST by
# [.startedAt, .createdAt, .completedAt]. Without a timestamp the