Skip to content

Detect uncommitted files that changed unexpectedly during your CI process

Notifications You must be signed in to change notification settings

MichalZalecki/codechecks-git-no-uncommitted

Repository files navigation

codechecks-git-no-uncommitted

CircleCI

Detect uncommitted files. This codecheck reports any uncommitted changes. You might want to use it do detect if any file you track changes unexpectedly. For example, tt makes it possible to:

  • detect a lock file changing after dependencies installation
  • see if any auto-generated files by tools like graphql-codegen since you branched out your PR

Usage

Add to your codechecks.yml file:

checks:
  - name: codechecks-git-no-uncommitted

Example

$ npx codechecks

Executing codechecks.yml...

# ❌ Git No Uncommitted

Result: 2 file changed


## Long description:

┌────────┬─────────────────────────────────────────┐
│ Change │ Path                                    │
├────────┼─────────────────────────────────────────┤
│ M      │ package-lock.json                       │
├────────┼─────────────────────────────────────────┤
│ M      │ src/networking/generated/schema.ts      │
└────────┴─────────────────────────────────────────┘

Contributors

About

Detect uncommitted files that changed unexpectedly during your CI process

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published