Make Release Build Not Run On Draft

This commit is contained in:
Ben C 2022-07-14 00:30:43 -04:00 committed by GitHub
parent 0fac02ad01
commit 5bd5ec4950
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,7 @@ on:
jobs: jobs:
Build: Build:
if: ${{ github.ref == 'refs/heads/main' || (github.event.pull_request.draft == 'false' && contains(github.event.pull_request.labels.*.name, 'update-pr')) }}
uses: ./.github/workflows/build.yaml uses: ./.github/workflows/build.yaml
with: with:
build_type: Release build_type: Release