Skip to content

Add glimpse image check workflow - #24

Merged
mathiasgrimm merged 1 commit into
mainfrom
feat/glimpse-workflow
Jul 20, 2026
Merged

Add glimpse image check workflow#24
mathiasgrimm merged 1 commit into
mainfrom
feat/glimpse-workflow

Conversation

@mathiasgrimm

Copy link
Copy Markdown
Owner

What this adds

This PR adds the scaffold from glimpse init --workflow:

  • .github/workflows/glimpse.yml: a GitHub Actions workflow that installs the CLI with composer global require mathiasgrimm/glimpse-cli (counted on Packagist, small phar-only install) and runs glimpse check on pushes to main and on pull requests.
  • .glimpse-baseline.json: the baseline records the 10 current images in the repo. Only new or changed images are gated, the existing ones pass as is.
  • .glimpseignore: excludes paths like vendor/ and node_modules/ from scans.

Note on the token

The GLIMPSE_TOKEN secret is not set on this repo yet. Until it is set, the check step will skip with a warning. Set it with:

gh secret set GLIMPSE_TOKEN

🤖 Generated with Claude Code

Scaffold from glimpse init --workflow: .glimpseignore, a seeded
.glimpse-baseline.json with the 10 current images, and a GitHub
Actions workflow that runs glimpse check on pushes to main and on
pull requests.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mathiasgrimm
mathiasgrimm merged commit 46ac961 into main Jul 20, 2026
6 checks passed
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