Skip to content

Commit

Permalink
feat(ci): only validate ready PRs (not draft) (#1895)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Mar 26, 2024
1 parent 38c4d2a commit 5ff2803
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pr-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: PR Validate

on:
pull_request:
types: [edited, opened, synchronize, reopened]
types: [edited, opened, synchronize, reopened, ready_for_review]

concurrency:
group: ${{ github.workflow }}-edit-${{ github.event.number }}
Expand All @@ -11,6 +11,7 @@ concurrency:
jobs:
validate:
name: Validate PR
if: (! github.event.pull_request.draft)
uses: bcgov/quickstart-openshift-helpers/.github/workflows/.pr-validate.yml@v0.4.0
with:
markdown_links: |
Expand Down

0 comments on commit 5ff2803

Please sign in to comment.