hardisgroupcom / sfdx-hardis

Swiss-army-knife Toolbox for Salesforce. Orchestrates base commands and assist users with interactive wizards to make much more than native sfdx + Allows you to define a complete CI/CD Pipeline and Schedule a daily Metadata backup & monitoring of your orgs
https://sfdx-hardis.cloudity.com
GNU Affero General Public License v3.0
194 stars 35 forks source link

mega-linter YAML v8 error "reference resolves to more than one warning" #771

Closed readeral closed 1 month ago

readeral commented 1 month ago
ℹ Processing ./config/.sfdx-hardis.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating ./config/.sfdx-hardis.yml against schema from https://raw.githubusercontent.com/hardisgroupcom/sfdx-hardis/main/config/sfdx-hardis.jsonschema.json ...
✖ reference "http://github.com/hardisgroupcom/sfdx-hardis.json#/properties/msTeamsWebhookUrlWarning" resolves to more than one schema

ℹ Processing ./config/branches/.sfdx-hardis.integration.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating ./config/branches/.sfdx-hardis.integration.yml against schema from https://raw.githubusercontent.com/hardisgroupcom/sfdx-hardis/main/config/sfdx-hardis.jsonschema.json ...
✖ reference "http://github.com/hardisgroupcom/sfdx-hardis.json#/properties/msTeamsWebhookUrlWarning" resolves to more than one schema

ℹ Processing ./config/branches/.sfdx-hardis.production.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating ./config/branches/.sfdx-hardis.production.yml against schema from https://raw.githubusercontent.com/hardisgroupcom/sfdx-hardis/main/config/sfdx-hardis.jsonschema.json ...
✖ reference "http://github.com/hardisgroupcom/sfdx-hardis.json#/properties/msTeamsWebhookUrlWarning" resolves to more than one schema

ℹ Processing ./config/branches/.sfdx-hardis.uat.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating ./config/branches/.sfdx-hardis.uat.yml against schema from https://raw.githubusercontent.com/hardisgroupcom/sfdx-hardis/main/config/sfdx-hardis.jsonschema.json ...
✖ reference "http://github.com/hardisgroupcom/sfdx-hardis.json#/properties/msTeamsWebhookUrlWarning" resolves to more than one schema

sfdx-hardis.jsonschema.json duplicates an ID value between Warning and Info. See associated PR.

nvuillam commented 1 month ago

Thanks for the fix :)