From da6fa7909f69100d463bfce7fe952d99acb94544 Mon Sep 17 00:00:00 2001 From: Charles Packer Date: Fri, 1 Nov 2024 13:59:03 -0700 Subject: [PATCH] fix: stop running the PR title validation on main, only on PRs (#1969) --- .github/workflows/code_style_checks.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/code_style_checks.yml b/.github/workflows/code_style_checks.yml index 8e7b7e94..a81f26db 100644 --- a/.github/workflows/code_style_checks.yml +++ b/.github/workflows/code_style_checks.yml @@ -28,6 +28,7 @@ jobs: install-args: "-E dev -E postgres -E milvus -E external-tools -E tests" # Adjust as necessary - name: Validate PR Title + if: github.event_name == 'pull_request' uses: amannn/action-semantic-pull-request@v5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}