gh-actions icon indicating copy to clipboard operation
gh-actions copied to clipboard

Actions-based linter

Open withinfocus opened this issue 1 year ago â€ĸ 3 comments
trafficstars

đŸŽŸī¸ Tracking

Internal change.

📔 Objective

Adds the GitHub Actions-based Mega-Linter for robust post-upload linting using a ton of available linters that don't need to be installed locally.

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation or informed the documentation team

đŸĻŽ Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or â„šī¸ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or âš ī¸ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or â™ģī¸ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

withinfocus avatar Apr 04 '24 17:04 withinfocus

đŸĻ™ MegaLinter status: ❌ ERROR

Descriptor Linter Files Fixed Errors Elapsed time
❌ ACTION actionlint 13 40 0.28s
✅ BASH bash-exec 2 0 0.06s
❌ BASH shellcheck 2 22 0.36s
âš ī¸ BASH shfmt 2 1 0.01s
❌ COPYPASTE jscpd yes 4 1.84s
âš ī¸ CSHARP roslynator 3 3 30.9s
❌ DOCKERFILE hadolint 3 1 0.18s
❌ EDITORCONFIG editorconfig-checker 98 1 0.62s
❌ JAVASCRIPT standard 5 1 4.92s
❌ JSON jsonlint 11 1 0.27s
❌ JSON npm-package-json-lint yes 1 0.53s
âš ī¸ JSON prettier 11 1 0.99s
✅ JSON v8r 11 0 75.59s
âš ī¸ MARKDOWN markdownlint 11 46 0.72s
❌ MARKDOWN markdown-link-check 11 2 6.19s
✅ MARKDOWN markdown-table-formatter 11 0 0.26s
❌ PYTHON bandit 9 29 2.12s
âš ī¸ PYTHON black 9 1 2.74s
❌ PYTHON flake8 9 35 0.99s
âš ī¸ PYTHON isort 9 7 0.23s
❌ PYTHON mypy 9 1 0.25s
❌ PYTHON pylint 9 5 3.56s
❌ PYTHON pyright 9 11 9.36s
❌ PYTHON ruff 9 4 0.03s
❌ REPOSITORY checkov yes 23 14.84s
❌ REPOSITORY devskim yes 3608 49.76s
✅ REPOSITORY dustilock yes no 0.29s
❌ REPOSITORY gitleaks yes 1 8.89s
✅ REPOSITORY git_diff yes no 0.41s
❌ REPOSITORY grype yes 5 15.17s
❌ REPOSITORY kics yes 20 4.15s
✅ REPOSITORY secretlint yes no 2.63s
✅ REPOSITORY syft yes no 1.07s
❌ REPOSITORY trivy yes 1 9.66s
✅ REPOSITORY trivy-sbom yes no 0.74s
✅ REPOSITORY trufflehog yes no 17.25s
❌ SPELL cspell 99 371 35.05s
❌ SPELL lychee 56 10 1.76s
❌ TYPESCRIPT ts-standard 4 1 0.52s
✅ XML xmllint 2 0 0.01s
âš ī¸ YAML prettier 31 1 1.46s
❌ YAML v8r 31 1 84.26s
❌ YAML yamllint 31 46 0.83s

See detailed report in MegaLinter reports

You could have same capabilities but better runtime performances if you request a new MegaLinter flavor.

MegaLinter is graciously provided by OX Security

github-actions[bot] avatar Apr 04 '24 17:04 github-actions[bot]

Logo Checkmarx One – Scan Summary & Details – 7346aa62-2303-4594-a5ca-f5c108f3c6ef

No New Or Fixed Issues Found

bitwarden-bot avatar Apr 04 '24 18:04 bitwarden-bot