Skip to content

Commit

Permalink
Run integration tests only for pull requests ready for review (#1002)
Browse files Browse the repository at this point in the history
  • Loading branch information
nfx authored and dmoore247 committed Mar 23, 2024
1 parent c0f1fe1 commit 1ccfd68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: acceptance

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

permissions:
id-token: write
Expand All @@ -11,7 +11,7 @@ permissions:

jobs:
integration:
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request' && github.event.pull_request.draft == false
environment: account-admin
runs-on: larger
steps:
Expand Down

0 comments on commit 1ccfd68

Please sign in to comment.