diff --git a/.github/workflows/contribution-lint.yaml b/.github/workflows/contribution-lint.yaml index 5d1bd0e8d..cca9d6509 100644 --- a/.github/workflows/contribution-lint.yaml +++ b/.github/workflows/contribution-lint.yaml @@ -22,8 +22,6 @@ on: - ready_for_review - review_requested - auto_merge_enabled - push: - branches: '*' jobs: contribution-lint: name: Contribution Details Validation @@ -36,6 +34,6 @@ jobs: - name: Install Dependencies run: npm install - name: Run Pull Request Title Validation - uses: JulienKode/pull-request-name-linter-action@v0.5.0 + run: echo "${{ github.event.pull_request.title }}" | npx commitlint --config commitlint.config.js --verbose - name: Run Latest Commit Message Validation - run: git log -1 --pretty=format:"%s" | npx commitlint --config commitlint.config.js --verbose + run: git log -1 --no-merges --pretty=format:"%s" | npx commitlint --config commitlint.config.js --verbose