Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MichalZalecki/codechecks-git-no-uncommitted
Detect uncommitted files that changed unexpectedly during your CI process
https://github.com/MichalZalecki/codechecks-git-no-uncommitted
Last synced: 3 months ago
JSON representation
Detect uncommitted files that changed unexpectedly during your CI process
- Host: GitHub
- URL: https://github.com/MichalZalecki/codechecks-git-no-uncommitted
- Owner: MichalZalecki
- Created: 2019-08-27T08:57:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T08:17:22.000Z (about 2 years ago)
- Last Synced: 2024-11-02T14:42:26.822Z (3 months ago)
- Language: TypeScript
- Homepage:
- Size: 527 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# codechecks-git-no-uncommitted
[![CircleCI](https://circleci.com/gh/MichalZalecki/codechecks-git-no-uncommitted.svg?style=svg)](https://circleci.com/gh/MichalZalecki/codechecks-git-no-uncommitted)
Detect uncommitted files. This [codecheck](https://codechecks.io/) 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:
```yml
checks:
- name: codechecks-git-no-uncommitted
```## Example
```
$ npx codechecksExecuting codechecks.yml...
# ❌ Git No Uncommitted
Result: 2 file changed
## Long description:
┌────────┬─────────────────────────────────────────┐
│ Change │ Path │
├────────┼─────────────────────────────────────────┤
│ M │ package-lock.json │
├────────┼─────────────────────────────────────────┤
│ M │ src/networking/generated/schema.ts │
└────────┴─────────────────────────────────────────┘
```## Contributors
* [MichalZalecki](https://github.com/MichalZalecki)
* [ziolekjj](https://github.com/ziolekjj)