mirror of
https://github.com/ben-grande/qusal.git
synced 2025-04-16 13:43:09 -04:00
ci: commit number 1
This commit is contained in:
parent
392978bc4c
commit
66bb57e482
12
.github/workflows/main.yaml
vendored
12
.github/workflows/main.yaml
vendored
@ -31,9 +31,11 @@ jobs:
|
||||
- uses: pre-commit/action@v3.0.0
|
||||
|
||||
# TODO: lint range of commits, not only the latest pushed
|
||||
- name: Gitlint
|
||||
- name: Gitlint on range
|
||||
# yamllint disable-line rule:line-length
|
||||
if: ${{ github.after != github.sha }}
|
||||
run: gitlint --debug --commits "${{ github.after }}..${{ github.sha }}"
|
||||
if: ${{ github.after == github.sha }}
|
||||
run: gitlint --debug --commits "${{ github.sha }}"
|
||||
run: |
|
||||
if test ${{ github.after }} == ${{ github.sha }}; then
|
||||
gitlint --debug --commits "${{ github.sha }}"
|
||||
else
|
||||
gitlint --debug --commits "${{ github.after }}..${{ github.sha }}"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user