Description
The update-cli-screenshots job in the documentation publishing workflow is failing due to an ffmpeg installation error when using charmbracelet/vhs-action@v2.
Workflow Run: https://github.com/commitizen-tools/commitizen/actions/runs/22021621926/job/63631586440
Error Message:
Error: Failed to install ffmpeg
Root Cause:
I found this is a known issue with vhs-action@v2 (see charmbracelet/vhs-action#459).
The problem is related to:
- Ubuntu 24.04 compatibility: GitHub Actions now defaults to Ubuntu 24.04, and
vhs-action@v2 has compatibility issues with ffmpeg installation on this newer Ubuntu version
- Installation process failure: The action's internal ffmpeg installation step fails on the newer runner environment
Steps to reproduce
- Push changes to the
master branch that trigger the documentation workflow
- The
update-cli-screenshots job runs with ubuntu-latest (currently Ubuntu 24.04)
- The workflow executes the step:
- name: Install VHS using charmbracelet/vhs-action@v2
- The VHS action attempts to install ffmpeg
- Installation fails with error:
Error: Failed to install ffmpeg
Current behavior
Workflow fails and CLI screenshots cannot be updated
Desired behavior
ffmpeg should install successfully and VHS should generate CLI screenshots
Screenshots
Environment
Commitizen Version: 4.13.7
Python Version: 3.14.2 (v3.14.2:df793163d58, Dec 5 2025, 12:18:06) [Clang 16.0.0 (clang-1600.0.26.6)]
Operating System: Darwin
Description
The
update-cli-screenshotsjob in the documentation publishing workflow is failing due to an ffmpeg installation error when usingcharmbracelet/vhs-action@v2.Workflow Run: https://github.com/commitizen-tools/commitizen/actions/runs/22021621926/job/63631586440
Error Message:
Root Cause:
I found this is a known issue with
vhs-action@v2(see charmbracelet/vhs-action#459).The problem is related to:
vhs-action@v2has compatibility issues with ffmpeg installation on this newer Ubuntu versionSteps to reproduce
masterbranch that trigger the documentation workflowupdate-cli-screenshotsjob runs withubuntu-latest(currently Ubuntu 24.04)- name: Install VHSusingcharmbracelet/vhs-action@v2Error: Failed to install ffmpegCurrent behavior
Workflow fails and CLI screenshots cannot be updated
Desired behavior
ffmpeg should install successfully and VHS should generate CLI screenshots
Screenshots
Environment
Commitizen Version: 4.13.7
Python Version: 3.14.2 (v3.14.2:df793163d58, Dec 5 2025, 12:18:06) [Clang 16.0.0 (clang-1600.0.26.6)]
Operating System: Darwin