[ci] Fix Merge Queue requeue and draft PR pre-commit skip (#1197)

This commit is contained in:
Jinzhe Pan
2026-03-30 22:35:13 +08:00
committed by GitHub
parent 46f6b43a53
commit ab55e57c22
3 changed files with 17 additions and 10 deletions
+3 -1
View File
@@ -14,7 +14,9 @@ permissions:
jobs:
pre-commit:
if: github.event.pull_request.draft != true
if: >-
github.event.pull_request.draft != true
|| startsWith(github.event.pull_request.head.ref, 'mergify/merge-queue/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4