Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actions-based linter #273

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Actions-based linter #273

wants to merge 3 commits into from

Conversation

withinfocus
Copy link
Contributor

@withinfocus withinfocus commented Apr 4, 2024

🎟️ 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

Copy link

github-actions bot commented Apr 4, 2024

🦙 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

@bitwarden-bot
Copy link

bitwarden-bot commented Apr 4, 2024

Logo
Checkmarx One – Scan Summary & Details7346aa62-2303-4594-a5ca-f5c108f3c6ef

No New Or Fixed Issues Found

Copy link

sonarqubecloud bot commented Sep 4, 2024

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