Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 1.05 KB

README.md

File metadata and controls

52 lines (35 loc) · 1.05 KB

Gitlint action

This action runs the gitlint tool on pull requests.

The gitlint configuration is taken from the first of the following:

Content

The main action happens in steps.sh, the JavaScript entry point just calls this script.

Arguments

  • token: GitHub PA token to authenticate for private repos (optional)
  • config: gitlint config file location

Example:

    - uses: seL4/ci-actions/gitlint@master
      with:
        config: ./misc/my-gitlint-config

Example

Put this into a .github/workflows/ yaml file, e.g. gitlint.yml:

name: Gitlint

on: [pull_request]

jobs:
  gitlint:
    name: Gitlint
    runs-on: ubuntu-latest
    steps:
    - uses: seL4/ci-actions/gitlint@master