Skip to content

Add run-if utility to git utils #20

@DavidWells

Description

@DavidWells

Update https://github.com/DavidWells/packages/tree/master/packages/util-git-info/src

We want to add a new utility to the git utils to "run-if" there are changes

See. Read https://github.com/jameslnewell/run-if-diff/blob/master/README.md and https://github.com/jameslnewell/run-if-diff/blob/master/src/cli/run-if-diff.ts and https://github.com/jameslnewell/run-if-diff/blob/master/src/cli/exit-if-diff.ts

We want to use our git functions to do the same thing and have a generic checker like this action

We would like to eventually use these in a github action as well to noOp certain actions but start with the generic utilities

This PR would also introduce a lightweight CLI for our git utils.

thanks @claude

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-generatedAutomatically generated contentclaude-codeItems created or modified by Claude Code

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions