From 21871de5ee88d036276306180f2d5cc65f37239c Mon Sep 17 00:00:00 2001 From: codex-bot-andresmgsl Date: Tue, 25 Aug 2026 08:42:53 +0000 Subject: [PATCH] fix: restore Forgejo workflow names --- lib/forge-forgejo.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/forge-forgejo.sh b/lib/forge-forgejo.sh index 20deffe..415f0d6 100644 --- a/lib/forge-forgejo.sh +++ b/lib/forge-forgejo.sh @@ -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