Skip to content

ci: stop the demo workflow pushing to master - #67

Merged
Maksim-Burtsev merged 1 commit into
masterfrom
fix-demo-workflow
Aug 23, 2026
Merged

ci: stop the demo workflow pushing to master#67
Maksim-Burtsev merged 1 commit into
masterfrom
fix-demo-workflow

Conversation

@Maksim-Burtsev

Copy link
Copy Markdown
Owner

The Demo GIF workflow has been red on master since the merge of #66. Two bugs, both introduced there.

It pushed straight to master. The master ruleset requires changes to go through a pull request, so the push was rejected:

remote: error: GH013: Repository rule violations found for refs/heads/master.
remote: - Changes must be made through a pull request.
remote: - 5 of 5 required status checks are expected.

Its "did anything change?" guard could never be true. VHS renders the migration filename from the current timestamp, so the GIF bytes differ on every run. Even with the push working, every trigger would have committed a fresh 175K binary to master.

The GIF changes when the CLI output changes — roughly never. Automating that into the default branch was the wrong call. Now the workflow renders the tape and uploads the result as an artifact: it still catches a tape that silently stopped working, and hands you a fresh GIF to commit through a normal PR. contents: write dropped, it no longer needs it.

The committed assets/demo.gif is unchanged and still correct.

🤖 Generated with Claude Code

Two bugs, both mine.

The workflow committed the rendered GIF straight to master. The master ruleset
requires changes to go through a pull request, so the push was rejected with
GH013 and the job went red on every run.

Second, the check it used to decide whether to push could never be false: VHS
renders the migration filename from the current timestamp, so the bytes differ
on every run. Even with the push working, this would have churned a 175K binary
into git history on every trigger.

The GIF is a yearly-ish manual update, not something worth automating into the
default branch. The workflow now renders the tape and uploads the result as an
artifact — it verifies the tape still works and hands you a fresh GIF to commit
through a normal PR. Dropped contents: write, it no longer needs it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Maksim-Burtsev
Maksim-Burtsev merged commit 333e4f3 into master Aug 23, 2026
8 checks passed
@Maksim-Burtsev
Maksim-Burtsev deleted the fix-demo-workflow branch August 23, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant