Skip to the content.

Git Lint [docker action]

Lint the git repo for common errors

Adapted from cytopia/awesome-ci.

The latest version available for this action is 40c22b7a. It was last updated on Thu Apr 21 2022.

Inputs

command

The specific command to be executed.

Available Commands

path

The path to the repository that will be checked. Defaults to the location of actions/checkout default path.

ignore

List of paths to be ignored, for example if you had README.md files explaining how to deal with conflicts it would need to be ignored.

Examples

As a step in pre-existing job.

This simple job example has the bare minimum required to run.

git-lint: name: Git Lint runs-on: ubuntu-latest steps: - uses: actions/checkout@master - uses: dogmatic69/actions@40c22b7a with: command: foobar

This example has all possible inputs, with dummy data.

git-lint: name: Git Lint runs-on: ubuntu-latest steps: - uses: actions/checkout@master - uses: dogmatic69/actions@40c22b7a with: command: foobar path: foobar ignore: foobar