Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b8e18ea051 | |||
| bb66e62724 |
@@ -11,7 +11,7 @@ jobs:
|
|||||||
FUNCTION_SCHEMA_FILE_NAME: functionSchema.json
|
FUNCTION_SCHEMA_FILE_NAME: functionSchema.json
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4.1.1
|
- uses: actions/checkout@v4.1.6
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ def automate_function(
|
|||||||
# this is how a run is marked with a failure cause
|
# this is how a run is marked with a failure cause
|
||||||
automate_context.attach_error_to_objects(
|
automate_context.attach_error_to_objects(
|
||||||
category="Forbidden speckle_type"
|
category="Forbidden speckle_type"
|
||||||
" ({function_inputs.forbidden_speckle_type})",
|
f" ({function_inputs.forbidden_speckle_type})",
|
||||||
object_ids=[o.id for o in objects_with_forbidden_speckle_type if o.id],
|
object_ids=[o.id for o in objects_with_forbidden_speckle_type if o.id],
|
||||||
message="This project should not contain the type: "
|
message="This project should not contain the type: "
|
||||||
f"{function_inputs.forbidden_speckle_type}",
|
f"{function_inputs.forbidden_speckle_type}",
|
||||||
|
|||||||
Reference in New Issue
Block a user