ci: allow v2 branch to run PR CI workflow (#10698)

This commit is contained in:
Phantom 2025-10-13 23:31:46 +08:00 committed by GitHub
parent 742f901052
commit bab1a5445c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
env:
PRCI: true
if: github.event.pull_request.draft == false
if: github.event.pull_request.draft == false || github.head_ref == 'v2'
steps:
- name: Check out Git repository