Skip to content

Commit

Permalink
Add link to Ox (#1802)
Browse files Browse the repository at this point in the history
* Add link to Ox

* line sep

* OX Logo on homepage

* article

* cspell

* Update utils_reporter.py

* quickfix

* change label
  • Loading branch information
nvuillam authored Aug 28, 2022
1 parent d866e8a commit 5b1a8da
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/linters/.cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
"DTDs",
"DUSTILOCK",
"Dependabot",
"Detekt",
"Devcontainer",
"Dmegalinter",
"Dockerfiles",
Expand Down Expand Up @@ -126,6 +127,7 @@
"GOROOT",
"Gcss",
"Gdns",
"Gijt",
"Gitleaks",
"Globstar",
"Gmegalinter",
Expand Down Expand Up @@ -167,6 +169,7 @@
"KXXXXNXXX",
"KXXXXXXXXXXK",
"Klingenberg",
"Kover",
"Ksection",
"Ktlint",
"Kubernetes",
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<!-- header-logo-end -->
<!-- mega-linter-title-start -->

## MegaLinter, by [OX Security](https://www.ox.security/?ref=megalinter)
## MegaLinter, by [![OX Security](https://www.ox.security/wp-content/uploads/2022/06/logo.svg?ref=megalinter_readme)](https://www.ox.security/?ref=megalinter)

<!-- mega-linter-title-end -->
<!-- mega-linter-badges-start -->
Expand Down Expand Up @@ -993,6 +993,7 @@ You can implement your own descriptors and load them as plugins during MegaLinte
- [How to linter basic things like trailing whitespaces and newlines](https://nklya.medium.com/hot-to-linter-basic-things-like-trailing-whitespaces-and-newlines-7b40da8f688d){target=_blank}, by [Nicolai Antiferov](https://nklya.medium.com/){target=_blank}
- [How to apply security at the source using GitOps](https://dev.to/minwi/how-to-apply-security-at-the-source-using-gitops-21bk){target=_blank}, by [Edu Minguez](https://dev.to/minwi){target=_blank}
- [Linting - What is all the fluff about?](https://rse.shef.ac.uk/blog/2022-04-19-linting/), by [Neil Shepard](https://www.linkedin.com/in/neil-shephard-a43a83211/?originalSubdomain=uk), University Of Sheffield
- [Talk about the Kotlin plugins Kover, Ktlint and Detekt. Made for the AmsterdamJUG meetup.](https://www.slideshare.net/SimonedeGijt/pluginandplayv4amsterdamjugpptx-251796070), by [Simone de Gijt](https://github.com/SimonedeGijt)
<!-- articles-section-end -->

<!-- frequently-asked-questions-section-start -->
Expand Down
8 changes: 8 additions & 0 deletions megalinter/utils_reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,14 @@ def build_markdown_summary(reporter_self, action_run_url):
f"- [**{action_path}**]({ML_DOC_URL}/flavors/{suggestion['flavor']}/)"
f" ({suggestion['linters_number']} linters)"
)
p_r_msg += os.linesep
# Link to ox
p_r_msg += (
os.linesep
+ "_MegaLinter is graciously provided by [![OX Security]"
+ "(https://www.ox.security/wp-content/uploads/2022/06/"
+ "logo.svg?ref=megalinter_comment)](https://www.ox.security/?ref=megalinter)_"
)
logging.debug("\n" + p_r_msg)
return p_r_msg

Expand Down

0 comments on commit 5b1a8da

Please sign in to comment.