Skip to content

feat(ci): add MegaLinter GitHub Action for Java projects #14

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

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

negadras
Copy link
Owner

Added a GitHub Action workflow to integrate MegaLinter for Java code linting.
The action runs on every push to the main branch and on pull requests,
ensuring code quality through linting and archiving linting reports.

Added a GitHub Action workflow to integrate MegaLinter for Java code linting.
The action runs on every push to the `main` branch and on pull requests,
ensuring code quality through linting and archiving linting reports.
Copy link

github-actions bot commented Nov 21, 2024

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 2 0 0.01s
✅ JSON jsonlint 1 0 0.17s
✅ JSON prettier 1 0 0.37s
✅ JSON v8r 1 0 2.35s
⚠️ MARKDOWN markdownlint 3 1 0.47s
✅ MARKDOWN markdown-link-check 3 0 1.27s
✅ MARKDOWN markdown-table-formatter 3 0 0.21s
✅ REPOSITORY checkov yes no 13.27s
✅ REPOSITORY gitleaks yes no 0.29s
✅ REPOSITORY git_diff yes no 0.01s
✅ REPOSITORY grype yes no 14.31s
✅ REPOSITORY secretlint yes no 0.82s
✅ REPOSITORY trivy yes no 17.89s
✅ REPOSITORY trivy-sbom yes no 0.35s
✅ REPOSITORY trufflehog yes no 2.25s
✅ SPELL lychee 7 0 0.43s
✅ XML xmllint 7 0 0.01s
✅ YAML prettier 3 0 0.39s
✅ YAML v8r 3 0 5.56s
✅ YAML yamllint 3 0 0.32s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

@negadras negadras force-pushed the negasi/megalinter-action branch 5 times, most recently from 9692940 to d12c4a7 Compare November 21, 2024 18:18
- replace deprecated string templates with `String.format`
- updated `.markdown-link-check.json` to ignore `localhost` links
- added `java-pmd-ruleset.xml` to disable PMD rules for specific code patterns
- upgrade `jackson-databind` to version 2.18.1
- disabled spell checking linters in `.mega-linter.yml`.
@negadras negadras force-pushed the negasi/megalinter-action branch from d12c4a7 to ac8fa74 Compare November 21, 2024 18:25
@negadras negadras merged commit 22ec71e into main Nov 21, 2024
2 checks passed
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.

1 participant