Commit e3932518 authored by acud's avatar acud Committed by GitHub

ci: commit lint only in PR (#1751)

parent 3800bcf2
......@@ -30,7 +30,7 @@ jobs:
with:
fetch-depth: 0
- name: Commit linting
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-latest' && github.ref != 'refs/heads/master'
uses: wagoid/commitlint-github-action@v2
- name: Cache Go modules
uses: actions/cache@v1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment