Defer Pages validation until draft pull requests are ready

This commit is contained in:
vorotamoroz committed 2026-10-20 08:24:05 +00:00
1 parent 32874ea97f
commit 070fef7669
2 files changed
+16 -2

No files matched your search

+2
View File
@@ -14,6 +14,7 @@ on:
- 'package-lock.json'
- '.github/workflows/deploy-pages.yml'
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- 'aggregator.html'
- 'src/**'
@@ -32,6 +33,7 @@ concurrency:
jobs:
build:
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
name: Validate and package Pages site
runs-on: ubuntu-latest
steps: