|
13 | 13 | required: false |
14 | 14 | default: "" |
15 | 15 | type: string |
16 | | - build_template_mode: |
17 | | - description: Include report-only build-template checks |
| 16 | + build_boilerplate_mode: |
| 17 | + description: Include report-only build-boilerplate checks |
18 | 18 | required: false |
19 | 19 | default: report |
20 | 20 | type: choice |
@@ -229,7 +229,7 @@ jobs: |
229 | 229 | --readme README.md \ |
230 | 230 | --owner wodby \ |
231 | 231 | --repo-filter "^${SERVICE_REPO}$" \ |
232 | | - --build-template-mode "${{ inputs.build_template_mode || 'report' }}" \ |
| 232 | + --build-boilerplate-mode "${{ inputs.build_boilerplate_mode || 'report' }}" \ |
233 | 233 | --output-dir "$REPORT_DIR" |
234 | 234 |
|
235 | 235 | - name: Determine Apply Scope |
@@ -321,10 +321,10 @@ jobs: |
321 | 321 | print("- Status: update candidate") |
322 | 322 | elif details and details.get("dry_run_diffs"): |
323 | 323 | print("- Status: manual review dry-run candidate") |
324 | | - elif details and details.get("build_template_review_items"): |
325 | | - print("- Status: build-template review candidate") |
326 | | - elif details and details.get("build_template_warnings"): |
327 | | - print("- Status: build-template warning") |
| 324 | + elif details and details.get("build_boilerplate_review_items"): |
| 325 | + print("- Status: build-boilerplate review candidate") |
| 326 | + elif details and details.get("build_boilerplate_warnings"): |
| 327 | + print("- Status: build-boilerplate warning") |
328 | 328 | elif details and details.get("notifications"): |
329 | 329 | print("- Status: manual review notification") |
330 | 330 | elif details and ( |
@@ -372,20 +372,20 @@ jobs: |
372 | 372 | print("") |
373 | 373 |
|
374 | 374 | if details and ( |
375 | | - details.get("build_template_review_items") |
376 | | - or details.get("build_template_warnings") |
| 375 | + details.get("build_boilerplate_review_items") |
| 376 | + or details.get("build_boilerplate_warnings") |
377 | 377 | ): |
378 | | - print("### Build Template Review") |
379 | | - print("These checks are report only. The workflow does not apply build template changes.") |
| 378 | + print("### Build Boilerplate Review") |
| 379 | + print("These checks are report only. The workflow does not apply build boilerplate changes.") |
380 | 380 | print("") |
381 | | - if details.get("build_template_review_items"): |
| 381 | + if details.get("build_boilerplate_review_items"): |
382 | 382 | print("#### Review Items") |
383 | | - for message in details["build_template_review_items"]: |
| 383 | + for message in details["build_boilerplate_review_items"]: |
384 | 384 | print(f"- {message}") |
385 | 385 | print("") |
386 | | - if details.get("build_template_warnings"): |
| 386 | + if details.get("build_boilerplate_warnings"): |
387 | 387 | print("#### Warnings") |
388 | | - for message in details["build_template_warnings"]: |
| 388 | + for message in details["build_boilerplate_warnings"]: |
389 | 389 | print(f"- {message}") |
390 | 390 | print("") |
391 | 391 | apply_result = (details or {}).get("apply_result") or {} |
@@ -462,8 +462,8 @@ jobs: |
462 | 462 | and details.get("comparable") |
463 | 463 | and not report["updates"] |
464 | 464 | and not details["warnings"] |
465 | | - and not details.get("build_template_review_items") |
466 | | - and not details.get("build_template_warnings") |
| 465 | + and not details.get("build_boilerplate_review_items") |
| 466 | + and not details.get("build_boilerplate_warnings") |
467 | 467 | and repo not in report["missing_service_yml"] |
468 | 468 | ): |
469 | 469 | print("No update candidates were found.") |
@@ -534,7 +534,7 @@ jobs: |
534 | 534 | --readme README.md \ |
535 | 535 | --owner wodby \ |
536 | 536 | --repo-filter "^${SERVICE_REPO}$" \ |
537 | | - --build-template-mode "${{ inputs.build_template_mode || 'report' }}" \ |
| 537 | + --build-boilerplate-mode "${{ inputs.build_boilerplate_mode || 'report' }}" \ |
538 | 538 | --output-dir "$REPORT_DIR" |
539 | 539 |
|
540 | 540 | - name: Determine Apply Scope |
@@ -626,10 +626,10 @@ jobs: |
626 | 626 | print("- Status: update candidate") |
627 | 627 | elif details and details.get("dry_run_diffs"): |
628 | 628 | print("- Status: manual review dry-run candidate") |
629 | | - elif details and details.get("build_template_review_items"): |
630 | | - print("- Status: build-template review candidate") |
631 | | - elif details and details.get("build_template_warnings"): |
632 | | - print("- Status: build-template warning") |
| 629 | + elif details and details.get("build_boilerplate_review_items"): |
| 630 | + print("- Status: build-boilerplate review candidate") |
| 631 | + elif details and details.get("build_boilerplate_warnings"): |
| 632 | + print("- Status: build-boilerplate warning") |
633 | 633 | elif details and details.get("notifications"): |
634 | 634 | print("- Status: manual review notification") |
635 | 635 | elif details and ( |
@@ -677,20 +677,20 @@ jobs: |
677 | 677 | print("") |
678 | 678 |
|
679 | 679 | if details and ( |
680 | | - details.get("build_template_review_items") |
681 | | - or details.get("build_template_warnings") |
| 680 | + details.get("build_boilerplate_review_items") |
| 681 | + or details.get("build_boilerplate_warnings") |
682 | 682 | ): |
683 | | - print("### Build Template Review") |
684 | | - print("These checks are report only. The workflow does not apply build template changes.") |
| 683 | + print("### Build Boilerplate Review") |
| 684 | + print("These checks are report only. The workflow does not apply build boilerplate changes.") |
685 | 685 | print("") |
686 | | - if details.get("build_template_review_items"): |
| 686 | + if details.get("build_boilerplate_review_items"): |
687 | 687 | print("#### Review Items") |
688 | | - for message in details["build_template_review_items"]: |
| 688 | + for message in details["build_boilerplate_review_items"]: |
689 | 689 | print(f"- {message}") |
690 | 690 | print("") |
691 | | - if details.get("build_template_warnings"): |
| 691 | + if details.get("build_boilerplate_warnings"): |
692 | 692 | print("#### Warnings") |
693 | | - for message in details["build_template_warnings"]: |
| 693 | + for message in details["build_boilerplate_warnings"]: |
694 | 694 | print(f"- {message}") |
695 | 695 | print("") |
696 | 696 | apply_result = (details or {}).get("apply_result") or {} |
@@ -767,8 +767,8 @@ jobs: |
767 | 767 | and details.get("comparable") |
768 | 768 | and not report["updates"] |
769 | 769 | and not details["warnings"] |
770 | | - and not details.get("build_template_review_items") |
771 | | - and not details.get("build_template_warnings") |
| 770 | + and not details.get("build_boilerplate_review_items") |
| 771 | + and not details.get("build_boilerplate_warnings") |
772 | 772 | and repo not in report["missing_service_yml"] |
773 | 773 | ): |
774 | 774 | print("No update candidates were found.") |
|
0 commit comments