ci: skip draft PR builds until ready

This commit is contained in:
Shantur Rathore
2026-03-22 19:30:13 +00:00
parent d15340a4b8
commit 935926d875
2 changed files with 5 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ on:
- opened
- synchronize
- reopened
- ready_for_review
permissions:
contents: read
@@ -45,7 +46,7 @@ jobs:
build:
needs: authorize
if: ${{ needs.authorize.outputs.allowed == 'true' }}
if: ${{ needs.authorize.outputs.allowed == 'true' && !github.event.pull_request.draft }}
uses: ./.github/workflows/build-and-upload.yml
with:
ref: ${{ github.event.pull_request.head.sha }}