Skip to content

Commit ebd6c17

Browse files
committed
Properly not executing our tests when PR is in a draft state
1 parent 3b7a24f commit ebd6c17

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/pr-verification.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ jobs:
3030
const body = pr.body || '';
3131
3232
// List of mandatory PR sections
33-
const requiredSections = [
33+
const requiredSections =
34+
[
3435
{
3536
header: '## Backport',
3637
description: 'PR description must include a "## Backport" section. Please add this section and provide information about this PR backport to develop or develop-2.0.0 branch respectively or explain why backport is not needed.'

.yamato/_triggers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ pull_request_trigger:
6767
- "develop"
6868
- "develop-2.0.0"
6969
- "/release\/.*/"
70-
- drafts: false
70+
drafts: false
7171

7272

7373
# Run all tests on trunk on nightly basis.

0 commit comments

Comments
 (0)