[ci] Trigger pre-commit on /test slash commands (#1205)

This commit is contained in:
Jinzhe Pan
2026-03-31 20:12:57 +08:00
committed by GitHub
parent 81fd80c8ee
commit a87cc89916
2 changed files with 15 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ permissions:
jobs:
pre-commit:
if: github.event.pull_request.draft != true
if: github.event_name == 'workflow_call' || github.event.pull_request.draft != true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4