From 68b5fdb735d9a1ce7f84ee298ded835312a1a265 Mon Sep 17 00:00:00 2001 From: "lifemonitor[bot]" <112559573+lifemonitor[bot]@users.noreply.github.com> Date: Tue, 12 Nov 2024 15:22:37 +0000 Subject: [PATCH] Fix 'Missing LifeMonitor configuration file' --- .lifemonitor.yaml | 71 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 .lifemonitor.yaml diff --git a/.lifemonitor.yaml b/.lifemonitor.yaml new file mode 100644 index 0000000..19ee676 --- /dev/null +++ b/.lifemonitor.yaml @@ -0,0 +1,71 @@ +# workflow name (override name defined on the RO-Crate metadata) +# name: MyWorkflow +# worklow visibility +public: false + +# Issue Checker Settings +issues: + # Enable/Disable issue checker + # The list of issue types can be found @ /workflows/issues + # (e.g., https://api.lifemonitor.eu/workflows/issues) + check: true + # csv of issues to check (all included by default) + # include: [repo_layout.GitRepositoryWithoutMainBranch, repo_layout.MissingWorkflowFile, repo_layout.MissingROCrateFile, repo_layout.MissingROCrateWorkflowFile, repo_layout.RepositoryNotInitialised, lm.MissingLMConfigFile, lm.InvalidConfigFile, metadata.MissingWorkflowName, experimental.OutdatedROCrateFile] + # csv of issues to ignore (none ignored by default) + # exclude: [repo_layout.GitRepositoryWithoutMainBranch, repo_layout.MissingWorkflowFile, repo_layout.MissingROCrateFile, repo_layout.MissingROCrateWorkflowFile, repo_layout.RepositoryNotInitialised, lm.MissingLMConfigFile, lm.InvalidConfigFile, metadata.MissingWorkflowName, experimental.OutdatedROCrateFile] + + +# Github Integration Settings +push: + branches: + # Define the list of branches to watch + # - name: feature/XXX # Wildcards can be used to specify branches (e.g., feature/*) + # enable_notifications: true # Enable to notify LifeMonitor and possibly also workflow registries + # # such as WorkflowHub (wfhub) and dev.WorkflowHub (wfhubdev). + # # Default: true + # lifemonitor_instance: "production" # Specify the LifeMonitor instance to notify. + # # Available options: "production" (the default) and "development" + # # The "development" instance is only for testing. + # # Default: "production" + # update_registries: [] # Workflow registries to be notified. Options are listed + # # by the endpoint `/registries` + # # Default: [] + # # (e.g., https://api.lifemontor.eu/registries) + # + # An example: + # + # - name: "develop" + # enable_notifications: true + # lifemonitor_instance: development + # update_registries: [] + + # Monitor main. Notify only LifeMonitor (production instance) of changes. + - name: "main" + enable_notifications: true + lifemonitor_instance: production + update_registries: [] + + + tags: + # Define the list of **tags** to watch. + # The same fields that are applied to 'branches' (above) are also valid for tags. + # + # Example: + # - name: "v*.*.*" # e.g,. v1.0.2 + # enable_notifications: true + # lifemonitor_instance: development + # update_registries: [] + + # Recognize tags with names matching "v*.*.*" as new releases. + # Notify LifeMonitor (production instance) and the + # workflow registries [wfhub, wfhubdev] + - name: "v*.*.*" + enable_notifications: true + lifemonitor_instance: production + update_registries: [wfhub, wfhubdev] + + # Also recognize the tag names matching "*.*.*". For the rest, same rules as above. + - name: "*.*.*" + enable_notifications: true + update_registries: [wfhub, wfhubdev] + lifemonitor_instance: production