Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit 9a8d0aa

Browse files
committed
draft
1 parent a3f10ca commit 9a8d0aa

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/check_label_and_workflow.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Check Label and Workflow
22

33
on:
44
pull_request:
5-
types: [opened, reopened, synchronize]
5+
types: [opened, reopened, synchronize, ready_for_review, converted_to_draft, review_requested, review_request_removed]
66
workflow_run:
7-
workflows: ["Code Checks", "Check CODEOWNERS Entries", "Pull Request Ready for Review", "Audit Service Tags"]
7+
workflows: ["Code Checks", "Check CODEOWNERS Entries", "Pull Request Ready for Review", "Audit Service Tags", "Code Health Report"]
88
types: [completed]
99

1010
jobs:
@@ -23,6 +23,14 @@ jobs:
2323
- name: Check if workflows have completed successfully
2424
id: check_workflow
2525
run: |
26+
# if [ ${{ github.event.pull_request.draft }} = true ]; then
27+
# echo "PR is still in draft mode."
28+
# ALL_COMPLETED=false
29+
# else
30+
31+
if [ ${{ github.event.pull_request.draft }} = true ]; then
32+
echo "PR is still in draft mode."
33+
fi
2634
WORKFLOWS=("Check CODEOWNERS Entries" "Audit Service Tags" "Code Checks")
2735
ALL_COMPLETED=true
2836

0 commit comments

Comments
 (0)