Skip to content

Commit e43f41f

Browse files
authored
Don't run changelog checker until PR is ready for review (#315)
1 parent 06f9405 commit e43f41f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/changelog.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ on: # yamllint disable-line rule:truthy
77
- opened
88
- synchronize
99
- reopened
10+
- ready_for_review
1011

1112
jobs:
1213
changelog:
1314
runs-on: ubuntu-latest
1415
steps:
1516
- name: Check changelog labels
16-
if: false == contains(join(github.event.pull_request.labels.*.name, ','), 'changelog/')
17+
if: github.event.pull_request.draft == false && false == contains(join(github.event.pull_request.labels.*.name, ','), 'changelog/')
1718
run: |-
1819
echo "::error Add 'changelog/*' label";
1920
exit 1;

0 commit comments

Comments
 (0)