Skip to content

Commit

Permalink
fix: build test pull request running on non draft PRs (#4708)
Browse files Browse the repository at this point in the history
  • Loading branch information
henit-chobisa authored Jun 5, 2024
1 parent 249e71e commit 272428b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-test-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ name: Build and Lint on Pull Request
on:
workflow_dispatch:
pull_request:
types: ["opened", "synchronize"]
types: ["opened", "synchronize", "ready_for_review"]

jobs:
get-changed-files:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
outputs:
apiserver_changed: ${{ steps.changed-files.outputs.apiserver_any_changed }}
Expand Down

0 comments on commit 272428b

Please sign in to comment.