CI/CD Pipeline
{workflows.length} workflows · GitHub Actions
{([['workflows', 'Workflows'], ['runs', 'Recent Runs']] as const).map(([key, label]) => (
))}
{triggerOut && (
{triggerOut}
)}
{tab === 'workflows' && (
{loading ?
Loading…
: workflows.map(wf => (
setSelectedWf(s => s?.file === wf.file ? null : wf)} style={{
display: 'flex', alignItems: 'center', gap: 12, padding: '12px 16px', marginBottom: 6,
background: selectedWf?.file === wf.file ? 'rgba(34,197,94,0.08)' : 'rgba(255,255,255,0.03)',
border: `1px solid ${selectedWf?.file === wf.file ? 'rgba(34,197,94,0.3)' : 'rgba(255,255,255,0.07)'}`,
borderRadius: 10, cursor: 'pointer',
}}>
{wf.name}
{wf.file} · {wf.on}
))}
{selectedWf && (
{selectedWf.file}
{selectedWf.content}
)}
)}
{tab === 'runs' && (
)}
)
}