Skip to content

Commit

Permalink
fail if draft PR
Browse files Browse the repository at this point in the history
  • Loading branch information
corang committed Jun 27, 2023
1 parent a672bbb commit 7635ac0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ permissions:

jobs:
test-clean-install:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest

steps:

- name: Fail if Draft PR
if: github.event.pull_request.draft == true
run: exit 1

- uses: actions/checkout@v3

- name: Init zarf cache
Expand Down

0 comments on commit 7635ac0

Please sign in to comment.