This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Workflow Step Renderer POC</title> | |
| <style> | |
| body { font-family: -apple-system, system-ui, sans-serif; max-width: 1480px; margin: 2rem auto; padding: 0 1rem; color: #1a1a1a; } | |
| h1 { font-size: 1.25rem; } | |
| .muted { color: #656d76; font-size: .85rem; } | |
| .layout { display: grid; grid-template-columns: 320px 1fr; gap: 1.25rem; align-items: start; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| function current_branch() { | |
| ref=$(git symbolic-ref HEAD 2> /dev/null) || \ | |
| ref=$(git rev-parse --short HEAD 2> /dev/null) || return | |
| echo ${ref#refs/heads/} | |
| } | |
| function current_repository() { | |
| ref=$(git symbolic-ref HEAD 2> /dev/null) || \ | |
| ref=$(git rev-parse --short HEAD 2> /dev/null) || return |