[Dependency Review] Skipping health check for draft PRs (#225008)

## Summary

Skipping health check and required review for draft PRs.
This commit is contained in:
Elena Shostak 2025-06-24 13:58:54 +02:00 committed by GitHub
parent 21200b848e
commit 0988f1bcb9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 51 additions and 47 deletions

View file

@ -2,7 +2,7 @@ name: Enforce Dependency Review
on:
pull_request_target:
types: [opened, reopened, synchronize]
types: [opened, reopened, synchronize, ready_for_review]
paths:
- 'package.json'
branches:
@ -14,7 +14,8 @@ jobs:
runs-on: ubuntu-latest
if: |
github.repository == 'elastic/kibana' &&
github.actor != 'elastic-renovate-prod[bot]'
github.actor != 'elastic-renovate-prod[bot]' &&
github.event.pull_request.draft == false
steps:
- name: Checkout kibana-operations
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

View file

@ -3,6 +3,8 @@ on:
pull_request_target:
types:
- opened
- synchronize
- ready_for_review
branches:
- 'main'
paths:
@ -14,7 +16,8 @@ jobs:
runs-on: ubuntu-latest
if: |
github.repository == 'elastic/kibana' &&
github.actor != 'elastic-renovate-prod[bot]'
github.actor != 'elastic-renovate-prod[bot]' &&
github.event.pull_request.draft == false
steps:
- name: Checkout kibana-operations
uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f