فینورا پرو - سامانه جامع حسابداری و صدور فاکتور

ci(pr): validate stacked pull requests without duplicate Windows packaging

Davood Mehraban committed Nov 23, 2026 at 19:49 UTC 09bc0aaa6485ecfc613ebacc8668b987539e3f7c
1 file changed +4 -2
.github/workflows/pr-quality-gates.yml
+4 -2
@@ -1,9 +1,9 @@
1 name: PR Quality Gates — accounting, Windows and packaging
2
3 on:
4 + # Validate stacked Draft PRs as well as PRs targeting main.
5 + # Keep the expensive Windows installer preview reserved for main-bound PRs.
6 pull_request:
5 - branches:
6 - - main
7 push:
8 branches:
9 - main
@@ -44,6 +44,8 @@ jobs:
44
45 windows-installer:
46 name: Windows native build and preview artifact (not a release)
47 + # Stacked PRs receive the full Node quality gate, without rebuilding NSIS.
48 + if: github.event_name != 'pull_request' || github.event.pull_request.base.ref == 'main'
49 needs: node-quality
50 runs-on: windows-latest
51 timeout-minutes: 55