Skip to content

Commit

Permalink
🌱 run tests on draft PRs (#1267)
Browse files Browse the repository at this point in the history
run tests on draft PRs

Signed-off-by: kranurag7 <[email protected]>
  • Loading branch information
kranurag7 authored Apr 17, 2024
1 parent 4cf38c7 commit 958036d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test Code
on: # yamllint disable-line rule:truthy
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
types: [opened, edited, synchronize, reopened, ready_for_review]
branches:
- main
- "releases/**"
Expand All @@ -24,7 +24,6 @@ concurrency:
jobs:
test:
name: Test Code
if: github.event_name != 'pull_request' || !github.event.pull_request.draft
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
Expand Down Expand Up @@ -69,4 +68,4 @@ jobs:
with:
name: reports-${{ steps.name.outputs.name }}
path: .reports
retention-days: 30
retention-days: 30

0 comments on commit 958036d

Please sign in to comment.