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

chore(deps): update peter-evans/create-pull-request action to v7 - abandoned #140

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/megalinter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
# Create pull request if applicable
# (for now works only on PR from same repository, not from forks)
- name: Create Pull Request with applied fixes
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7
id: cpr
if: >-
steps.ml.outputs.has_updated_sources == 1 &&
Expand Down
37 changes: 37 additions & 0 deletions megalinter-reports/.cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"allowCompoundWords": true,
"ignorePaths": [
"**/*-lock.*",
"**/*.lock*",
"**/*.mdx",
"**/.cspell.json",
"**/config/**/*.yaml"
],
"words": [
"DEVSKIM",
"ISORT",
"KICS",
"MYPY",
"PYLINT",
"bidi",
"commitizen",
"devskim",
"eifinger",
"envrc",
"httpx",
"iconify",
"kics",
"levelno",
"liblaf",
"pycache",
"pydantic",
"pyproject",
"pyright",
"pyrightconfig",
"stefanzweifel",
"taplo",
"typer",
"venv",
"zotero"
]
}
163 changes: 163 additions & 0 deletions megalinter-reports/IDE-config.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
MegaLinter can help you to define the same linter configuration locally

INSTRUCTIONS

- Copy the content of IDE-config folder at the root of your repository
- if you are using Visual Studio Code, just reopen your project after the copy, and you will be prompted to install recommended extensions
- If not, you can install extensions manually using the following links.

IDE EXTENSIONS APPLICABLE TO YOUR PROJECT

stylelint (CSS)
- atom:
- linter-stylelint: https://github.com/AtomLinter/linter-stylelint
- emacs:
- flycheck: https://github.com/flycheck/flycheck
- sublime:
- SublimeLinter-stylelint: https://github.com/SublimeLinter/SublimeLinter-stylelint
- SublimeLinter-contrib-stylelint_d: https://github.com/jo-sm/SublimeLinter-contrib-stylelint_d
- vim:
- ale: https://github.com/dense-analysis/ale
- vscode:
- vscode-stylelint: https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint

standard (JAVASCRIPT)
- atom:
- linter-js-standard: https://atom.io/packages/linter-js-standard
- linter-js-standard-engine: https://atom.io/packages/linter-js-standard-engine
- standard-formatter: https://atom.io/packages/standard-formatter
- brackets:
- brackets-standard: https://github.com/ishamf/brackets-standard/
- idea:
- native support: https://blog.jetbrains.com/webstorm/2017/01/webstorm-2017-1-eap-171-2272/
- sublime:
- SublimeLinter-contrib-standard: https://packagecontrol.io/packages/SublimeLinter-contrib-standard
- StandardFormat: https://packagecontrol.io/packages/StandardFormat
- vscode:
- vscode-standard: https://marketplace.visualstudio.com/items?itemName=standard.vscode-standard

prettier (JSON)
- atom:
- prettier-atom: https://github.com/prettier/prettier-atom
- atom-mprettier: https://github.com/t9md/atom-mprettier
- atom-miniprettier: https://github.com/duailibe/atom-miniprettier
- emacs:
- prettier-emacs: https://github.com/prettier/prettier-emacs
- prettier.el: https://github.com/jscheid/prettier.el
- apheleia: https://github.com/raxod502/apheleia
- idea:
- Prettier: https://plugins.jetbrains.com/plugin/10456-prettier
- sublime:
- JsPrettier: https://packagecontrol.io/packages/JsPrettier
- vim:
- vim-prettier: https://github.com/prettier/vim-prettier
- visual_studio:
- JavaScriptPrettier: https://github.com/madskristensen/JavaScriptPrettier
- vscode:
- prettier-vscode: https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

v8r (JSON)
- eclipse:
- native support: https://www.eclipse.org/
- idea:
- native support: https://www.jetbrains.com/products/#type=ide
- vim:
- vison: https://github.com/Quramy/vison
- vscode:
- native support: https://code.visualstudio.com/

markdownlint (MARKDOWN)
- atom:
- linter-node-markdownlint: https://atom.io/packages/linter-node-markdownlint
- sublime:
- SublimeLinter-contrib-markdownlint: https://packagecontrol.io/packages/SublimeLinter-contrib-markdownlint
- vim:
- coc-markdownlint: https://github.com/fannheyward/coc-markdownlint
- vscode:
- vscode-markdownlint: https://marketplace.visualstudio.com/items/DavidAnson.vscode-markdownlint

markdown-table-formatter (MARKDOWN)
- vscode:
- Markdown Table Prettify Extension: https://github.com/darkriszty/MarkdownTablePrettify-VSCodeExt

pyright (PYTHON)
- emacs:
- LSP-pyright: https://github.com/emacs-lsp/lsp-pyright
- sublime:
- LSP-pyright: https://packagecontrol.io/packages/LSP-pyright
- vim:
- Ale: https://github.com/dense-analysis/ale
- coc-pyright: https://github.com/fannheyward/coc-pyright
- vscode:
- PyRight: https://marketplace.visualstudio.com/items?itemName=ms-pyright.pyright

ruff (PYTHON)
- idea:
- Ruff: https://plugins.jetbrains.com/plugin/20574-ruff
- vscode:
- Ruff: https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff

checkov (REPOSITORY)
- vscode:
- Checkov: https://marketplace.visualstudio.com/items?itemName=Bridgecrew.checkov

devskim (REPOSITORY)
- vscode:
- VSCode DevSkim: https://marketplace.visualstudio.com/items?itemName=MS-CST-E.vscode-devskim

trivy (REPOSITORY)
- vscode:
- VSCode Trivy: https://marketplace.visualstudio.com/items?itemName=AquaSecurityOfficial.trivy-vulnerability-scanner

trivy-sbom (REPOSITORY)
- vscode:
- VSCode Trivy: https://marketplace.visualstudio.com/items?itemName=AquaSecurityOfficial.trivy-vulnerability-scanner

cspell (SPELL)
- vscode:
- Code Spell Checker: https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker

ts-standard (TYPESCRIPT)
- idea:
- native support: https://blog.jetbrains.com/webstorm/2017/01/webstorm-2017-1-eap-171-2272/
- sublime:
- SublimeLinter-contrib-standard: https://packagecontrol.io/packages/SublimeLinter-contrib-standard
- StandardFormat: https://packagecontrol.io/packages/StandardFormat
- vscode:
- https://marketplace.visualstudio.com/items?itemName=standard.vscode-standard: vscode-standard

prettier (YAML)
- atom:
- prettier-atom: https://github.com/prettier/prettier-atom
- atom-mprettier: https://github.com/t9md/atom-mprettier
- atom-miniprettier: https://github.com/duailibe/atom-miniprettier
- emacs:
- prettier-emacs: https://github.com/prettier/prettier-emacs
- prettier.el: https://github.com/jscheid/prettier.el
- apheleia: https://github.com/raxod502/apheleia
- idea:
- Prettier: https://plugins.jetbrains.com/plugin/10456-prettier
- sublime:
- JsPrettier: https://packagecontrol.io/packages/JsPrettier
- vim:
- vim-prettier: https://github.com/prettier/vim-prettier
- visual_studio:
- JavaScriptPrettier: https://github.com/madskristensen/JavaScriptPrettier
- vscode:
- prettier-vscode: https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

v8r (YAML)
- eclipse:
- native support: https://www.eclipse.org/
- idea:
- native support: https://www.jetbrains.com/products/#type=ide
- vim:
- vison: https://github.com/Quramy/vison
- vscode:
- native support: https://code.visualstudio.com/

yamllint (YAML)
- emacs:
- flycheck: https://github.com/krzysztof-magosa/flycheck-yamllint
- vim:
- ale: https://github.com/w0rp/ale
9 changes: 9 additions & 0 deletions megalinter-reports/IDE-config/.checkov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ref: <https://github.com/oxsecurity/megalinter/blob/225e1b5c3a044775005d0ec772cabee5d21006ed/TEMPLATES/.checkov.yml>

# You can see all available properties here: https://github.com/bridgecrewio/checkov#configuration-using-a-config-file
quiet: true

skip-check:
- CKV_DOCKER_2
- CKV_GHA_7
- CKV2_GHA_1
4 changes: 4 additions & 0 deletions megalinter-reports/IDE-config/.devskim.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"IgnoreRuleIds": ["DS176209"],
"Globs": ["**/.git/**", "**/megalinter-reports/**"]
}
21 changes: 21 additions & 0 deletions megalinter-reports/IDE-config/.gitleaks.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

title = "gitleaks config"

[extend]
# useDefault will extend the base configuration with the default gitleaks config:
# https://github.com/zricethezav/gitleaks/blob/master/config/gitleaks.toml
useDefault = true

[allowlist]
description = "Allowlisted files"
paths = [
'''.automation/test''',
'''megalinter-reports''',
'''.github/linters''',
'''node_modules''',
'''.mypy_cache''',
'''(.*?)gitleaks\.toml$''',
'''(?i)(.*?)(png|jpeg|jpg|gif|doc|docx|pdf|bin|xls|xlsx|pyc|zip)$''',
'''(go.mod|go.sum)$''']


Loading