Add CONTRIBUTING.md #297
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Git Lint | |
on: | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
lint: | |
name: Git Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
fetch-depth: 0 | |
- name: Install Gitlint | |
shell: bash | |
run: python -m pip install gitlint | |
- name: Run Gitlint | |
shell: bash | |
run: gitlint --commits "${{ github.event.pull_request.base.sha }}..HEAD" |