ci: only run PR lint in PR stage (#471)

Signed-off-by: Andy Lee <andy.lee@suse.com>
(cherry picked from commit 18a5608e7249507f1ddb83be8fc9d2c976555c8a)

# Conflicts:
#	.github/workflows/run-lint.yaml
This commit is contained in:
Andy Lee 2025-08-22 14:42:50 +08:00 committed by Mergify
parent fa78229d3a
commit a1ec1d04f5

View File

@ -22,6 +22,14 @@ jobs:
- name: Run tests
uses: ./.github/actions/lint
<<<<<<< HEAD
=======
- name: Validate PR title lint
if: github.event_name == 'pull_request'
shell: bash
run: echo "${{ github.event.pull_request.title }}" | npx commitlint
>>>>>>> 18a5608 (ci: only run PR lint in PR stage (#471))
- name: Validate commit messages
shell: bash
run: |