Skip to content

Conversation

Hasnioui-Ysf
Copy link

No description provided.

Copy link

github-actions bot commented Oct 3, 2025

MegaLinter analysis: Error

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 10 0 0 1.37s
✅ BASH shfmt 3 0 0 0 0.4s
❌ COPYPASTE jscpd yes 3 no 14.1s
✅ DOCKERFILE hadolint 1 0 0 0.09s
✅ JSON v8r 26 0 0 12.75s
✅ MARKDOWN markdown-table-formatter 338 0 0 0 1.41s
⚠️ REPOSITORY gitleaks yes 5 no 68.6s
✅ REPOSITORY grype yes no no 26.16s
✅ REPOSITORY trivy yes no no 5.4s
✅ REPOSITORY trufflehog yes no no 3.27s
❌ SPELL cspell 652 29 0 25.36s
⚠️ SPELL lychee 382 29 0 81.77s
✅ TYPESCRIPT eslint 255 0 0 0 10.92s
⚠️ YAML v8r 16 1 0 9.09s

Detailed Issues

❌ SPELL / cspell - 29 errors
src/commands/hardis/project/clean/profiles-extract.ts:89:47     - Unknown word (sobj)       -- sobjects.sobjects.filter(sobj => sobj.queryable).map
	 Suggestions: [soba, sobs, subj, sob, SOB]
src/commands/hardis/project/clean/profiles-extract.ts:89:55     - Unknown word (sobj)       -- sobjects.filter(sobj => sobj.queryable).map((sobject
	 Suggestions: [soba, sobs, subj, sob, SOB]
src/commands/hardis/project/clean/profiles-extract.ts:102:20    - Unknown word (Opportunité) -- // label: 'Opportunité', name: 'Opportunity
	 Suggestions: [Opportunity, Opportunism, Opportunist, Opportunists, Opportune]
src/commands/hardis/project/clean/profiles-extract.ts:104:20    - Unknown word (Produit)     -- // label: 'Produit', name: 'Product2',
	 Suggestions: [Product, Profit, Prosit, proust, Proust]
src/commands/hardis/project/clean/profiles-extract.ts:106:20    - Unknown word (Abonnement)  -- // label: 'Abonnement', name: 'sofactoapp
	 Suggestions: [atonement, Atonement, Alinement, Atonements, Abasement]
src/commands/hardis/project/clean/profiles-extract.ts:106:40    - Unknown word (sofactoapp)  -- Abonnement', name: 'sofactoapp__Abonnement__c', masterObject
	 Suggestions: []
src/commands/hardis/project/clean/profiles-extract.ts:106:52    - Unknown word (Abonnement)  -- name: 'sofactoapp__Abonnement__c', masterObject:
	 Suggestions: [atonement, Atonement, Alinement, Atonements, Abasement]
src/commands/hardis/project/clean/profiles-extract.ts:108:20    - Unknown word (Accès)       -- // label: 'Accès produit', name: 'AccesProduit
	 Suggestions: [Aces, Accts, Accel, Aches, Acmes]
src/commands/hardis/project/clean/profiles-extract.ts:108:26    - Unknown word (produit)     -- // label: 'Accès produit', name: 'AccesProduit
	 Suggestions: [product, profit, prosit, proust, produce]
src/commands/hardis/project/clean/profiles-extract.ts:108:43    - Unknown word (Acces)       -- Accès produit', name: 'AccesProduit__c', masterObject
	 Suggestions: [Access*, Aces, Accel, Accts, Aches]
src/commands/hardis/project/clean/profiles-extract.ts:108:48    - Unknown word (Produit)     -- produit', name: 'AccesProduit__c', masterObject:
	 Suggestions: [Product, Profit, Prosit, proust, Proust]
src/commands/hardis/project/clean/profiles-extract.ts:110:20    - Unknown word (Bénéficiaire) -- // label: 'Bénéficiaire', name: 'Beneficiaire
	 Suggestions: [Beneficiaries, Beneficiary, Beneficiate]
src/commands/hardis/project/clean/profiles-extract.ts:110:42    - Unknown word (Beneficiaire) -- Bénéficiaire', name: 'Beneficiaire__c', masterObject:
	 Suggestions: [Beneficiaries, Beneficiary, Beneficiate, Beneficial, Beneficially]
src/commands/hardis/project/clean/profiles-extract.ts:112:27    - Unknown word (tarification) -- // label: 'Grille tarification', name: 'GrilleTarification
	 Suggestions: [verification]
src/commands/hardis/project/clean/profiles-extract.ts:112:55    - Unknown word (Tarification) -- tarification', name: 'GrilleTarification__c ', masterObject:
	 Suggestions: [Verification]
src/commands/hardis/project/clean/profiles-extract.ts:163:57    - Unknown word (sobj)         -- sobjectsWithRecords.filter((sobj) => selectedObjects
	 Suggestions: [soba, sobs, subj, sob, SOB]
src/commands/hardis/project/clean/profiles-extract.ts:163:91    - Unknown word (sobj)         -- selectedObjects.includes(sobj.API_Name)), this.outputFile
	 Suggestions: [soba, sobs, subj, sob, SOB]
src/commands/hardis/project/clean/profiles-extract.ts:165:82    - Unknown word (sobj)         -- sobjectsWithRecords.filter((sobj) => selectedObjects
	 Suggestions: [soba, sobs, subj, sob, SOB]
src/commands/hardis/project/clean/profiles-extract.ts:178:55    - Unknown word (Profil)       -- string; Role: string; Profil: string; Profil_a_Associe
	 Suggestions: [Profit, Profile, prof, Prof, Profs]
src/commands/hardis/project/clean/profiles-extract.ts:178:71    - Unknown word (Profil)       -- string; Profil: string; Profil_a_Associe: string; Nouveau
	 Suggestions: [Profit, Profile, prof, Prof, Profs]
src/commands/hardis/project/clean/profiles-extract.ts:178:80    - Unknown word (Associe)      -- Profil: string; Profil_a_Associe: string; Nouveau_Personna
	 Suggestions: [Assoc, Assoil, Associate, Savoie, Auspice]
src/commands/hardis/project/clean/profiles-extract.ts:178:105   - Unknown word (Personna)     -- Associe: string; Nouveau_Personna: string; Nouveau_Role
	 Suggestions: [Persona, Person, percona, Percona, Persons]
src/commands/hardis/project/clean/profiles-extract.ts:184:7     - Unknown word (Profil)       -- Profil: user['Profile.Name
	 Suggestions: [Profit, Profile, prof, Prof, Profs]
src/commands/hardis/project/clean/profiles-extract.ts:185:7     - Unknown word (Profil)       -- Profil_a_Associe: '',
	 Suggestions: [Profit, Profile, prof, Prof, Profs]
src/commands/hardis/project/clean/profiles-extract.ts:185:16    - Unknown word (Associe)      -- Profil_a_Associe: '',
	 Suggestions: [Assoc, Assoil, Associate, Savoie, Auspice]
src/commands/hardis/project/clean/profiles-extract.ts:186:15    - Unknown word (Personna)     -- Nouveau_Personna: '',
	 Suggestions: [Persona, Person, percona, Percona, Persons]
src/commands/hardis/project/clean/profiles-extract.ts:255:43    - Unknown word (Actif)        -- Persona${personaIndex}_Actif`] = '';
	 Suggestions: [Actin, Calif, Acid, acis, Acis]
src/commands/hardis/project/clean/profiles-extract.ts:282:41    - Unknown word (Actif)        -- Persona${personaIndex}_Actif`] = '';
	 Suggestions: [Actin, Calif, Acid, acis, Acis]
src/commands/hardis/project/clean/profiles-extract.ts:368:29    - Unknown word (nillable)     -- Required: field.nillable ? 'No' : 'Yes',
	 Suggestions: [nullable, Nullable, nullables, Nullables, callable]
CSpell: Files checked: 638, Issues found: 29 in 1 file.


You can skip this misspellings by defining the following .cspell.json file at the root of your repository
Of course, please correct real typos before :)

{
    "version": "0.2",
    "language": "en",
    "ignorePaths": [
        "**/node_modules/**",
        "**/vscode-extension/**",
        "**/.git/**",
        "**/.pnpm-lock.json",
        ".vscode",
        "package-lock.json",
        "megalinter-reports"
    ],
    "words": [
        "Abonnement",
        "Acces",
        "Acc\u00e8s",
        "Actif",
        "Associe",
        "Beneficiaire",
        "B\u00e9n\u00e9ficiaire",
        "Opportunit\u00e9",
        "Personna",
        "Produit",
        "Profil",
        "Tarification",
        "nillable",
        "produit",
        "sobj",
        "sofactoapp",
        "tarification"
    ]
}


You can also copy-paste megalinter-reports/.cspell.json at the root of your repository

🤖 AI-Powered Fix Suggestions for SPELL_CSPELL (by openai gpt-4.1-mini)

  1. Summary:
    The cspell linter reports many "Unknown word" errors, mostly due to:
  • Use of domain-specific or custom terms (e.g., "sobj", "sofactoapp", "Profil_a_Associe")
  • French words (e.g., "Opportunité", "Produit", "Abonnement", "Accès", "Bénéficiaire", "tarification", "Profil", "Associe", "Personna", "Actif")
  • A typo ("nillable" instead of "nullable")
  1. Advice:
  • Add domain-specific/custom terms and French words to your cspell dictionary or a custom word list file referenced in your .cspell.json config. This prevents false positives.
  • For typos like "nillable", correct the spelling to "nullable" in code.
  • Avoid disabling spell checking globally; instead, maintain a curated dictionary for your project’s vocabulary.
  • Example fix for "nillable":
// Before
Required: field.nillable ? 'No' : 'Yes',
// After
Required: field.nullable ? 'No' : 'Yes',
  • To add words, update .cspell.json:
{
  "words": ["sobj", "sofactoapp", "Profil_a_Associe", "Opportunité", "Produit", "Abonnement", "Accès", "Bénéficiaire", "tarification", "Profil", "Associe", "Personna", "Actif"]
}

This approach keeps spell checking effective while respecting your codebase’s terminology.

❌ COPYPASTE / jscpd - 3 errors
Clone found (typescript):
 - src/commands/hardis/project/clean/profiles-extract.ts [279:14 - 289:33] (10 lines, 139 tokens)
   src/commands/hardis/project/clean/profiles-extract.ts [252:5 - 262:34]

Clone found (typescript):
 - src/commands/hardis/project/clean/profiles-extract.ts [333:5 - 342:11] (9 lines, 128 tokens)
   src/commands/hardis/project/clean/profiles-extract.ts [311:5 - 320:18]

Clone found (typescript):
 - src/commands/hardis/misc/custom-label-translations.ts [71:48 - 86:104] (15 lines, 103 tokens)
   src/commands/hardis/project/clean/profiles-extract.ts [25:52 - 40:10]

┌────────────┬────────────────┬─────────────┬──────────────┬──────────────┬──────────────────┬───────────────────┐
│ Format     │ Files analyzed │ Total lines │ Total tokens │ Clones found │ Duplicated lines │ Duplicated tokens │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ typescript │ 229            │ 40345       │ 293722       │ 3            │ 34 (0.08%)       │ 370 (0.13%)       │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ javascript │ 7              │ 386         │ 3616         │ 0            │ 0 (0%)           │ 0 (0%)            │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ markdown   │ 5              │ 340         │ 1767         │ 0            │ 0 (0%)           │ 0 (0%)            │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ Total:     │ 241            │ 41071       │ 299105       │ 3            │ 34 (0.08%)       │ 370 (0.12%)       │
└────────────┴────────────────┴─────────────┴──────────────┴──────────────┴──────────────────┴───────────────────┘
Found 3 clones.
HTML report saved to megalinter-reports/copy-paste/html/
ERROR: jscpd found too many duplicates (0.08%) over threshold (0%)
Error: ERROR: jscpd found too many duplicates (0.08%) over threshold (0%)
    at ThresholdReporter.report (/node-deps/node_modules/@jscpd/finder/dist/index.js:612:13)
    at /node-deps/node_modules/@jscpd/finder/dist/index.js:110:18
    at Array.forEach (<anonymous>)
    at /node-deps/node_modules/@jscpd/finder/dist/index.js:109:22
    at async /node-deps/node_modules/jscpd/dist/jscpd.js:351:5

🤖 AI-Powered Fix Suggestions for COPYPASTE_JSCPD (by openai gpt-4.1-mini)

  1. Summary:
    The jscpd linter detected 3 code clones (duplicated code blocks) in your TypeScript files, totaling 34 duplicated lines (0.08% of code), exceeding the configured threshold of 0%. The duplicates are mostly within profiles-extract.ts and between custom-label-translations.ts and profiles-extract.ts.

  2. Advice to fix:

  • Refactor duplicated code into reusable functions or modules to eliminate repetition.
  • Identify common logic in the cloned blocks and abstract it to shared utilities.
  • Use parameters or configuration objects to handle variations instead of copy-pasting code.
  • Review the threshold setting; if some duplication is acceptable, consider increasing it slightly.
  • Regularly run jscpd to catch new duplications early and keep code DRY.

Example refactor:

// Before: duplicated code blocks
function processA() {
  // duplicated logic here
}
function processB() {
  // same logic repeated
}

// After: extracted reusable function
function commonProcess() {
  // shared logic
}
function processA() {
  commonProcess();
}
function processB() {
  commonProcess();
}

This reduces maintenance burden and improves code quality.

⚠️ REPOSITORY / gitleaks - 5 errors
○
    │╲
    │ ○
    ○ ░
    ░    gitleaks

Finding:     ...BASIC_AUTH_PASSWORD=REDACTED
Secret:      REDACTED
RuleID:      grafana-cloud-api-token
Entropy:     5.345851
File:        salesforce-ci-cd-setup-integration-api/index.html
Line:        9875
Commit:      HIDDEN_BY_MEGALINTERAuthor:      
Email:       
Date:        2025-10-06T17:00:00Z
Fingerprint: 0b8b4ff0432032000820eb9c90445a64d8aa5582:salesforce-ci-cd-setup-integration-api/index.html:grafana-cloud-api-token:9875
Link:        https://github.com/hardisgroupcom/sfdx-hardis/blob/0b8b4ff0432032000820eb9c90445a64d8aa5582/salesforce-ci-cd-setup-integration-api/index.html#L9875

Finding:     ...BASIC_AUTH_PASSWORD=REDACTED
Secret:      REDACTED
RuleID:      grafana-cloud-api-token
Entropy:     5.345851
File:        salesforce-ci-cd-setup-integration-api/index.html
Line:        9876
Commit:      HIDDEN_BY_MEGALINTERAuthor:      
Email:       
Date:        2025-10-06T17:00:00Z
Fingerprint: 0b8b4ff0432032000820eb9c90445a64d8aa5582:salesforce-ci-cd-setup-integration-api/index.html:grafana-cloud-api-token:9876
Link:        https://github.com/hardisgroupcom/sfdx-hardis/blob/0b8b4ff0432032000820eb9c90445a64d8aa5582/salesforce-ci-cd-setup-integration-api/index.html#L9876

Finding:     ...BASIC_AUTH_PASSWORD=REDACTED\nNOTIF_API_METRICS_BA...
Secret:      REDACTED
RuleID:      grafana-cloud-api-token
Entropy:     5.345851
File:        search/search_index.json
Line:        1
Commit:      HIDDEN_BY_MEGALINTERAuthor:      
Email:       
Date:        2025-10-06T17:00:00Z
Fingerprint: 0b8b4ff0432032000820eb9c90445a64d8aa5582:search/search_index.json:grafana-cloud-api-token:1
Link:        https://github.com/hardisgroupcom/sfdx-hardis/blob/0b8b4ff0432032000820eb9c90445a64d8aa5582/search/search_index.json#L1

Finding:     ...BASIC_AUTH_PASSWORD=REDACTED\nNOTIF_API_METRICS_BA...
Secret:      REDACTED
RuleID:      grafana-cloud-api-token
Entropy:     5.345851
File:        search/search_index.json
Line:        1
Commit:      HIDDEN_BY_MEGALINTERAuthor:      
Email:       
Date:        2025-10-06T17:00:00Z
Fingerprint: 0b8b4ff0432032000820eb9c90445a64d8aa5582:search/search_index.json:grafana-cloud-api-token:1
Link:        https://github.com/hardisgroupcom/sfdx-hardis/blob/0b8b4ff0432032000820eb9c90445a64d8aa5582/search/search_index.json#L1

Finding:     const AMPLITUDE_TOKEN = 'REDACTED'
Secret:      REDACTED
RuleID:      generic-api-key
Entropy:     3.715018
File:        src/common/analytics.ts
Line:        7
Commit:      HIDDEN_BY_MEGALINTERAuthor:      NicolasVuillamy
Email:       [email protected]
Date:        2021-01-31T00:23:50Z
Fingerprint: ca439c204d52687b82fb54e56ed9644d245c79c5:src/common/analytics.ts:generic-api-key:7
Link:        https://github.com/hardisgroupcom/sfdx-hardis/blob/ca439c204d52687b82fb54e56ed9644d245c79c5/src/common/analytics.ts#L7

4:17PM INF 2137 commits scanned.
4:17PM INF scanned ~94554608 bytes (94.55 MB) in 1m8.5s
4:17PM WRN leaks found: 5
⚠️ SPELL / lychee - 29 errors
[404] https://img.youtube.com/vi/sfdx-hardis/0.jpg | Network error: Not Found
[ERROR] file:///github/.github/copilot-instructions.md | Cannot find file
[403] https://npmjs.org/package/sfdx-hardis | Network error: Forbidden
[404] https://sfdx-hardis.cloudity.com/deployTips/ | Network error: Not Found
[404] https://www.schemastore.org/json/ | Network error: Not Found
[404] https://sfdx-hardis.cloudity.com/hardis/org/configure/auth/ | Network error: Not Found
[403] https://help.sfdmu.com/full-documentation/advanced-features/delete-from-source | Network error: Forbidden
[404] https://sfdx-hardis.cloudity.com/hardis/doc/project/deploy/smart/ | Network error: Not Found
[404] https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integrations-bitbucket/ | Network error: Not Found
[ERROR] file://assets/images/cloudity-logo.jpg | Cannot find file
[ERROR] file://assets/images/cloudity-map.jpg | Cannot find file
[403] https://www.npmjs.com/package/prompts | Network error: Forbidden
[403] https://www.npmjs.com/package/inquirer | Network error: Forbidden
[404] https://myclient.force.com/ | Network error: Not Found
[404] https://img.youtube.com/vi/sfdx-hardis/0.jpg | Error (cached)
[ERROR] file://docs/hardis/doc/$%7BCONSTANTS.DOC_URL_ROOT%7D/salesforce-project-documentation | Cannot find file
[403] https://some.sharepoint.com/file.xlsx | Network error: Forbidden
[ERROR] https://your-instance.service-now.com/ | Network error: error sending request for url (https://your-instance.service-now.com/) Maybe a certificate error?
[404] https://sfdx-hardis.cloudity.com/salesforce-sandbox-refresh/ | Network error: Not Found
[404] https://sfdx-hardis.cloudity.com/deployTips/ | Error (cached)
[404] https://sfdx-hardis.cloudity.com/salesforce-sandbox-refresh/ | Network error: Not Found
[404] https://sfdx-hardis.cloudity.com/deployTips/ | Error (cached)
[ERROR] file://docs/hardis/work/$%7BCONSTANTS.DOC_URL_ROOT%7D/salesforce-ci-cd-publish-task | Cannot find file
[ERROR] file://docs/hardis/work/$%7BCONSTANTS.DOC_URL_ROOT%7D/hardis/project/clean/references | Cannot find file
[403] https://npmjs.org/package/sfdx-hardis | Error (cached)
[404] https://img.youtube.com/vi/sfdx-hardis/0.jpg | Error (cached)
[403] https://openai.com/api/pricing/ | Network error: Forbidden
[403] https://platform.openai.com/ | Network error: Forbidden
[ERROR] http://127.0.0.1:8000/ | Network error: error sending request for url (http://127.0.0.1:8000/) Maybe a certificate error?
📝 Summary
---------------------
🔍 Total.........1995
✅ Successful....1794
⏳ Timeouts.........0
🔀 Redirected.......0
👻 Excluded.......172
❓ Unknown..........0
🚫 Errors..........29

Errors in docs/salesforce-project-doc-generate.md
[ERROR] http://127.0.0.1:8000/ | Network error: error sending request for url (http://127.0.0.1:8000/) Maybe a certificate error?

Errors in config/sfdx-hardis.jsonschema.json
[404] https://myclient.force.com/ | Network error: Not Found
[403] https://some.sharepoint.com/file.xlsx | Network error: Forbidden

Errors in docs/hardis/project/deploy/smart.md
[404] https://sfdx-hardis.cloudity.com/deployTips/ | Error (cached)

Errors in docs/hardis/work/save.md
[ERROR] file://docs/hardis/work/$%7BCONSTANTS.DOC_URL_ROOT%7D/hardis/project/clean/references | Cannot find file
[ERROR] file://docs/hardis/work/$%7BCONSTANTS.DOC_URL_ROOT%7D/salesforce-ci-cd-publish-task | Cannot find file

Errors in docs/salesforce-ai-setup.md
[403] https://platform.openai.com/ | Network error: Forbidden
[403] https://openai.com/api/pricing/ | Network error: Forbidden

Errors in docs/index.md
[403] https://npmjs.org/package/sfdx-hardis | Error (cached)
[404] https://img.youtube.com/vi/sfdx-hardis/0.jpg | Error (cached)

Errors in CHANGELOG.md
[403] https://www.npmjs.com/package/inquirer | Network error: Forbidden
[404] https://sfdx-hardis.cloudity.com/deployTips/ | Network error: Not Found
[403] https://help.sfdmu.com/full-documentation/advanced-features/delete-from-source | Network error: Forbidden
[404] https://www.schemastore.org/json/ | Network error: Not Found
[404] https://sfdx-hardis.cloudity.com/hardis/doc/project/deploy/smart/ | Network error: Not Found
[404] https://sfdx-hardis.cloudity.com/hardis/org/configure/auth/ | Network error: Not Found
[404] https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integrations-bitbucket/ | Network error: Not Found
[403] https://www.npmjs.com/package/prompts | Network error: Forbidden

Errors in docs/articles-videos.md
[404] https://img.youtube.com/vi/sfdx-hardis/0.jpg | Error (cached)

Errors in docs/hardis/org/refresh/after-refresh.md
[404] https://sfdx-hardis.cloudity.com/salesforce-sandbox-refresh/ | Network error: Not Found

Errors in docs/hardis/project/deploy/sources/dx.md
[404] https://sfdx-hardis.cloudity.com/deployTips/ | Error (cached)

Errors in GEMINI.md
[ERROR] file:///github/.github/copilot-instructions.md | Cannot find file

Errors in docs/cloudity-consulting-partner.md
[ERROR] file://assets/images/cloudity-map.jpg | Cannot find file
[ERROR] file://assets/images/cloudity-logo.jpg | Cannot find file

Errors in docs/hardis/org/refresh/before-refresh.md
[404] https://sfdx-hardis.cloudity.com/salesforce-sandbox-refresh/ | Network error: Not Found

Errors in docs/hardis/doc/mkdocs-to-salesforce.md
[ERROR] file://docs/hardis/doc/$%7BCONSTANTS.DOC_URL_ROOT%7D/salesforce-project-documentation | Cannot find file

Errors in README.md
[404] https://img.youtube.com/vi/sfdx-hardis/0.jpg | Network error: Not Found
[403] https://npmjs.org/package/sfdx-hardis | Network error: Forbidden

Errors in docs/hardis/misc/servicenow-report.md
[ERROR] https://your-instance.service-now.com/ | Network error: error sending request for url (https://your-instance.service-now.com/) Maybe a certificate error?
⚠️ YAML / v8r - 1 error
ℹ No config file found
ℹ Pre-warming the cache
ℹ Processing .github/dependabot.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating .github/dependabot.yml against schema from https://www.schemastore.org/dependabot-2.0.json ...
✔ .github/dependabot.yml is valid

ℹ Processing .github/linters/.checkov.yml
✖ Could not find a schema to validate .github/linters/.checkov.yml

ℹ Processing .github/workflows/build-deploy-docs.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating .github/workflows/build-deploy-docs.yml against schema from https://www.schemastore.org/github-workflow.json ...
✔ .github/workflows/build-deploy-docs.yml is valid

ℹ Processing .github/workflows/deploy-ALPHA.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating .github/workflows/deploy-ALPHA.yml against schema from https://www.schemastore.org/github-workflow.json ...
✔ .github/workflows/deploy-ALPHA.yml is valid

ℹ Processing .github/workflows/deploy-CANARY.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating .github/workflows/deploy-CANARY.yml against schema from https://www.schemastore.org/github-workflow.json ...
✔ .github/workflows/deploy-CANARY.yml is valid

ℹ Processing .github/workflows/deploy-PROD.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating .github/workflows/deploy-PROD.yml against schema from https://www.schemastore.org/github-workflow.json ...
✔ .github/workflows/deploy-PROD.yml is valid

ℹ Processing .github/workflows/deploy-RELEASE.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating .github/workflows/deploy-RELEASE.yml against schema from https://www.schemastore.org/github-workflow.json ...
✔ .github/workflows/deploy-RELEASE.yml is valid

ℹ Processing .github/workflows/devScripts.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating .github/workflows/devScripts.yml against schema from https://www.schemastore.org/github-workflow.json ...
✔ .github/workflows/devScripts.yml is valid

ℹ Processing .github/workflows/docker-security-scan.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating .github/workflows/docker-security-scan.yml against schema from https://www.schemastore.org/github-workflow.json ...
✔ .github/workflows/docker-security-scan.yml is valid

ℹ Processing .github/workflows/mega-linter.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating .github/workflows/mega-linter.yml against schema from https://www.schemastore.org/github-workflow.json ...
✔ .github/workflows/mega-linter.yml is valid

ℹ Processing .github/workflows/retrieve-dashboards.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating .github/workflows/retrieve-dashboards.yml against schema from https://www.schemastore.org/github-workflow.json ...
✔ .github/workflows/retrieve-dashboards.yml is valid

ℹ Processing .github/workflows/test.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating .github/workflows/test.yml against schema from https://www.schemastore.org/github-workflow.json ...
✔ .github/workflows/test.yml is valid

ℹ Processing .mega-linter.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating .mega-linter.yml against schema from https://raw.githubusercontent.com/megalinter/megalinter/main/megalinter/descriptors/schemas/megalinter-configuration.jsonschema.json ...
✖ .mega-linter.yml is invalid

.mega-linter.yml#/LLM_ADVISOR_LEVEL must be equal to one of the allowed values
.mega-linter.yml#/LLM_MAX_TOKENS must be string
.mega-linter.yml#/LLM_TEMPERATURE must be string

ℹ Processing config/sfdx-hardis.mega-linter-config.yml
✖ Could not find a schema to validate config/sfdx-hardis.mega-linter-config.yml

ℹ Processing mkdocs.yml
ℹ Found multiple possible matches for mkdocs.yml. Possible matches:

  mkdocs.yml (1.0)
  MkDocs configuration file
  https://www.schemastore.org/mkdocs-1.0.json

  mkdocs.yml (1.6)
  MkDocs configuration file
  https://www.schemastore.org/mkdocs-1.6.json

✖ Found multiple possible schemas to validate mkdocs.yml

ℹ Processing test/.sfdx-hardis.yml
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json ...
ℹ Validating test/.sfdx-hardis.yml against schema from https://raw.githubusercontent.com/hardisgroupcom/sfdx-hardis/main/config/sfdx-hardis.jsonschema.json ...
✔ test/.sfdx-hardis.yml is valid

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@beta --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,BASH_SHFMT,COPYPASTE_JSCPD,DOCKERFILE_HADOLINT,JSON_V8R,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_GITLEAKS,REPOSITORY_GRYPE,REPOSITORY_TRIVY,REPOSITORY_TRUFFLEHOG,SPELL_CSPELL,SPELL_LYCHEE,TYPESCRIPT_ES,YAML_V8R

MegaLinter is graciously provided by OX Security

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants