fix: stop running the PR title validation on main, only on PRs (#1969)

This commit is contained in:
Charles Packer
2024-11-01 13:59:03 -07:00
committed by GitHub
parent 2764681a8d
commit da6fa7909f

View File

@@ -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 }}