chore: sync pr-check.yml from Template-Generic [skip ci]

This commit is contained in:
2026-07-04 20:21:44 +00:00
parent 5d5c3e2539
commit cc959cab35
+3
View File
@@ -494,6 +494,9 @@ jobs:
name: Build RC Package
runs-on: ubuntu-latest
needs: [branch-policy, validate]
# Run only when both gates succeeded; always() forces evaluation so a skipped
# validate (e.g. template repos) skips this job cleanly instead of hanging.
if: ${{ always() && needs.branch-policy.result == 'success' && needs.validate.result == 'success' }}
steps:
- name: Trigger RC pre-release