|
123456789101112131415161718192021222324 |
- name: Commit lint
-
- on: [push, pull_request]
-
- jobs:
- build:
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v1
- - name: Set up Python
- uses: actions/setup-python@v1
- with:
- python-version: 3.8
- - name: Install dependencies
- run: |
- pip install --upgrade pip pipenv
- pipenv sync -d
- - name: Lint
- run: |
- message="$(git log --format=%B -n 1 HEAD)"
- echo $message
- pipenv run comlipy -c config-comlipy.yml "$message"
-
|