> For the complete CircleCI developer hub index, see [llms.txt](https://circleci.com/developer/llms.txt)

# niteo/check-untracked-changes

An orb command to test if any un-tracked changes(to git commit) are present in the given path.  This is useful to check if any auto-formatters(like black, codegen) have produced changes during CI validation.
############################################ #          ---- Commands ----              # # Command to check the un-tracked changes. # ############################################

## Commands

### check

Check un-tracked changes in the given path

| Parameter | Type | Default | Description |
|---|---|---|---|
| `path` | string | . | Path to check |

## Examples

### format_test

Test if the files are formatted

```yaml
version: 2.1
orbs:
  untracked_changes: niteo/check-untracked-changes@1.0.0
jobs:
  test:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - untracked_changes/check:
          path: src/
workflows:
  test-format:
    jobs:
      - test
```