{"version":"1.0","type":"rich","title":"git-diff-in-gh-actions.yaml","description":"This example shows a GitHub Actions workflow that detects whether a git diff contains any changed files and conditionally triggers a subsequent step. It uses the shell command `git diff --stat` to check for uncommitted changes, then sets a workflow output named `files_changed` via the `::set-output::` syntax. The workflow uses the `steps.diff.outputs.files_changed` condition to gate a later confirmation step. The code relies on GitHub Actions’ built-in `run` and `if` keywords, with no external visualization libraries or rendering involved.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-65d8021a95221b6982c12e4a79842959?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}