An open API service indexing awesome lists of open source software.

https://github.com/multani/git-changes-action

Display and fail a build if there are any Git changes
https://github.com/multani/git-changes-action

github-action

Last synced: about 1 year ago
JSON representation

Display and fail a build if there are any Git changes

Awesome Lists containing this project

README

          

# Git changes action

This GitHub Action:

* Show pending changes in a Git repository: uncommited files and pending
modifications.

![untracked files](/doc/status.png)

* Fail the step if there are any pending changes.

![modified files](/doc/diff.png)

This can be used to verify that the content of a Git repository didn't change
after a set of steps.

To use this GitHub Action:

```yaml
- name: Check Git changes
uses: multani/git-changes-action@v1
```