Skip to content

ci: add buildifier github action #28

ci: add buildifier github action

ci: add buildifier github action #28

Workflow file for this run

---
name: GitLint
on: # yamllint disable-line rule:truthy
pull_request:
branches: ['*']
jobs:
gitlint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Install gitlint
run: |
python -m pip install gitlint
- name: Run gitlint
run: |-
gitlint --commits "${{ github.event.pull_request.base.sha }}..HEAD"