Skip to content

Commit 2959354

Browse files
nodeselectorCopilot
andcommitted
demo: add CI failure scenario VHS tape
Shows --no-interactive behavior when actions need human input: auto-fixes deterministic issues, skips ambiguous ones, exits 1. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 21bfd39 commit 2959354

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

demo/vhs/ci-failure.tape

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Output ci-failure.gif
2+
3+
Set Shell "zsh"
4+
Set FontFamily "JetBrainsMono Nerd Font"
5+
Set FontSize 14
6+
Set Width 1200
7+
Set Height 700
8+
Set Framerate 24
9+
Set PlaybackSpeed 1.5
10+
Set TypingSpeed 50ms
11+
Set Theme "GitHub Dark"
12+
13+
Type "echo '# CI mode: auto-fix deterministic issues, fail on ambiguous ones'"
14+
Enter
15+
Sleep 1s
16+
17+
Type "grep uses: demo/workflows-interactive/sha-as-ref.yml"
18+
Enter
19+
Sleep 2s
20+
21+
Type "echo '# One action has a tag (fixable), one is a bare SHA (needs human)'"
22+
Enter
23+
Sleep 1s
24+
25+
Type "gh actions-pin check --no-interactive demo/workflows-interactive/sha-as-ref.yml"
26+
Enter
27+
Sleep 12s
28+
29+
Type "echo \"# Exit code: $?\""
30+
Enter
31+
Sleep 2s

0 commit comments

Comments
 (0)