Skip to content
check

GitHub Action

git diff --check

0.1.1 Pre-release

git diff --check

check

git diff --check

Warn if changes introduce conflict markers or whitespace errors

Installation

Copy and paste the following snippet into your .yml file.

              

- name: git diff --check

uses: joel-coffman/[email protected]

Learn more about this action in joel-coffman/action-git-diff-check

Choose a version

GitHub Action for git diff --check

This action executes git diff --check to warn if changes introduce conflict markers or whitespace errors.

Inputs

revision

Required The first revision of a commit range. Default HEAD^.

Example usage

uses: actions/git-diff-check@v1