oxsecurity / megalinter

🦙 MegaLinter analyzes 50 languages, 22 formats, 21 tooling formats, excessive copy-pastes, spelling mistakes and security issues in your repository sources with a GitHub Action, other CI tools or locally.
https://megalinter.io
GNU Affero General Public License v3.0
1.95k stars 237 forks source link

nicolas.vuillamy@ox.security | Failed: Unreachable mail address: nicolas.vuillamy@ox.security: Invalid: Email doesn't exist or is syntactically incorrect #3054

Open vorburger opened 1 year ago

vorburger commented 1 year ago

I though this was pretty funny, after a default install, it complains about itself - perhaps you would like to tweak the default config:

❌ Linted [SPELL] files with [lychee]: Found 3 error(s) - (0.53s) (expand for details)
  - Using [lychee v0.13.0] https://megalinter.io/7.5.0/descriptors/spell_lychee
  - MegaLinter key: [SPELL_LYCHEE]
  - Rules config: identified by [lychee]
  - Number of files analyzed: [6]
  --Error detail:
  ✗ [ERR] nicolas.vuillamy@ox.security | Failed: Unreachable mail address: nicolas.vuillamy@ox.security: Invalid: Email doesn't exist or is syntactically incorrect
  ✗ [404] https://megalinter.io/configuration/ | Failed: Network error: Not Found
  ✗ [404] https://megalinter.io/flavors/ | Failed: Network error: Not Found
  📝 Summary
  ---------------------
  🔍 Total...........14
  ✅ Successful......11
  ⏳ Timeouts.........0
  🔀 Redirected.......0
  👻 Excluded.........0
  ❓ Unknown..........0
  🚫 Errors...........3

  Errors in .github/workflows/mega-linter.yaml
  ✗ [ERR] nicolas.vuillamy@ox.security | Failed: Unreachable mail address: nicolas.vuillamy@ox.security: Invalid: Email doesn't exist or is syntactically incorrect
  ✗ [404] https://megalinter.io/configuration/ | Failed: Network error: Not Found
  ✗ [404] https://megalinter.io/flavors/ | Failed: Network error: Not Found
nvuillam commented 1 year ago

Oooooops ^^

Will be fixed in next release :)

Meanwhile.... you can fix the workflows in your repo haha ^^

vorburger commented 1 year ago

Meanwhile.... you can fix the workflows in your repo haha ^^

https://github.com/www-learn-study/saraswati.learn.study/pull/11/commits/d87a15f83b0e287ae35fe20e8035505e40947376 fixed this, by adding the following to .mega-linter.yml:

SPELL_LYCHEE_FILTER_REGEX_EXCLUDE: (.github\|.vscode)
vorburger commented 1 year ago

No of course above was not a valid 😈 regexp, but this did the trick (NB 2 fixes; escape dot but not escape bar):

SPELL_LYCHEE_FILTER_REGEX_EXCLUDE: (\.github|\.vscode)
nvuillam commented 1 year ago

@vorburger you can use a .lycheeignore file, it's more convenient :)

https://megalinter.io/latest/descriptors/spell_lychee/

github-actions[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

If you think this issue should stay open, please remove the O: stale 🤖 label or comment on the issue.