From a1ec1d04f56f7f0fcc3440208c24f651eb2c4685 Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Fri, 22 Aug 2025 14:42:50 +0800 Subject: [PATCH] ci: only run PR lint in PR stage (#471) Signed-off-by: Andy Lee (cherry picked from commit 18a5608e7249507f1ddb83be8fc9d2c976555c8a) # Conflicts: # .github/workflows/run-lint.yaml --- .github/workflows/run-lint.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/run-lint.yaml b/.github/workflows/run-lint.yaml index 6d2a7401..a558a17c 100644 --- a/.github/workflows/run-lint.yaml +++ b/.github/workflows/run-lint.yaml @@ -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: |