diff --git a/system-readonly-label.yaml b/system-readonly-label.yaml new file mode 100644 index 0000000..9b2503e --- /dev/null +++ b/system-readonly-label.yaml @@ -0,0 +1,26 @@ +id: system-readonly-label +namespace: company.team + +labels: + system.readOnly: "true" + +tasks: + - id: log + type: io.kestra.plugin.core.log.Log + message: Hello from a read-only flow! + +extend: + title: Using system readOnly label to disable editing the flow from UI + description: >- + This workflow sets the `system.readOnly` label to `true`. This + makes the flow read only, and does not allow editing the flow + from the UI. + + Thsi helps prevent modifications to critical workflows, such as + production flows managed through CI/CD pipelines. + tags: + - Error + - Fail + ee: false + demo: false + meta_description: This workflow uses system.readOnly label to prevent edits to the flow from the UI.