Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0c49948081 | |||
| 3f5880156b |
@@ -13,7 +13,7 @@ jobs:
|
||||
steps:
|
||||
# Step 1: Checkout the repository
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4.2.2
|
||||
uses: actions/checkout@v6.0.2
|
||||
|
||||
# Step 2: Set up Python
|
||||
- name: Setup Python
|
||||
|
||||
@@ -335,9 +335,12 @@ def apply_rules_to_objects(
|
||||
):
|
||||
speckle_print(f"Rule {rule_id_str} Skipped")
|
||||
|
||||
newBase = Base()
|
||||
newBase.id = "123"
|
||||
|
||||
automate_context.attach_info_to_objects(
|
||||
category=f"Rule {rule_id_str} Skipped",
|
||||
affected_objects=[Base()],
|
||||
affected_objects=[newBase],
|
||||
# This is a hack to get a rule to report with no valid objects
|
||||
message=f"No objects found for rule {rule_id_str}",
|
||||
metadata={},
|
||||
|
||||
Reference in New Issue
Block a user