mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-10-22 17:13:20 +00:00
Defer Pages validation until draft pull requests are ready
This commit is contained in:
1 parent
32874ea97f
commit
070fef7669
2 files changed
+16
-2
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user