feat: Add workflow dependencies visualization (#36248)

Add workflow dependencies visualization

Related to #26062

This PR adds an interactive visualization component that displays job
dependencies in Gitea Actions workflow runs. It helps users understand
complex pipeline structures at a glance, addressing the difficulty of
comprehending dependency chains in current Gitea UI.

---------

Signed-off-by: Semenets V. Pavel <p.semenets@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Semenets V. Pavelandwxiaoguang authored and GitHub committed 2026-02-23 21:11:33 +08:00
1 parent 427954ba6e
commit a8505269ca
11 files changed
+1064 -64

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
// see "models/actions/status.go", if it needs to be used somewhere else, move it to a shared file like "types/actions.ts"
export type ActionsRunStatus = 'unknown' | 'waiting' | 'running' | 'success' | 'failure' | 'cancelled' | 'skipped' | 'blocked';
export type ActionsJob = {
id: number;
jobId: string;
name: string;
status: ActionsRunStatus;
canRerun: boolean;
needs?: string[];
duration: string;
};