fix: restore Forgejo workflow names
All checks were successful
CI / test (pull_request) Successful in 3m49s
CI / release-exercise (pull_request) Successful in 24s
CI / self-guards (pull_request) Successful in 20s
CI / action-exercise (pull_request) Successful in 20s
CI / docs-sync-exercise (pull_request) Successful in 20s
labels / labels (pull_request) Successful in 22s
Refs guard / refs-not-closing (pull_request) Successful in 20s
All checks were successful
CI / test (pull_request) Successful in 3m49s
CI / release-exercise (pull_request) Successful in 24s
CI / self-guards (pull_request) Successful in 20s
CI / action-exercise (pull_request) Successful in 20s
CI / docs-sync-exercise (pull_request) Successful in 20s
labels / labels (pull_request) Successful in 22s
Refs guard / refs-not-closing (pull_request) Successful in 20s
This commit is contained in:
parent
9f54eb98bf
commit
21871de5ee
1 changed files with 4 additions and 0 deletions
|
|
@ -468,6 +468,10 @@ forge_pr_view() {
|
||||||
$st.statuses[]? | {
|
$st.statuses[]? | {
|
||||||
__typename: "StatusContext",
|
__typename: "StatusContext",
|
||||||
context: .context,
|
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),
|
state: (.status | ascii_upcase),
|
||||||
# checks_state groups repeated contexts and takes the NEWEST by
|
# checks_state groups repeated contexts and takes the NEWEST by
|
||||||
# [.startedAt, .createdAt, .completedAt]. Without a timestamp the
|
# [.startedAt, .createdAt, .completedAt]. Without a timestamp the
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue