chore(build): exclude draft PRs [EE-5872] (#9987)

* exclude draft PRs
This commit is contained in:
Prabhat Khera
2024-01-03 08:25:35 +13:00
committed by GitHub
parent 488393007f
commit e412958dcc
5 changed files with 39 additions and 6 deletions

View File

@@ -6,6 +6,11 @@ on:
- master
- develop
- 'release/*'
types:
- opened
- reopened
- synchronize
- ready_for_review
env:
GO_VERSION: 1.21.5
@@ -14,6 +19,7 @@ env:
jobs:
openapi-spec:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v3