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

feat(github-action)!: Update oxsecurity/megalinter action to v8.3.0 #859

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chii-bot[bot]
Copy link
Contributor

@chii-bot chii-bot bot commented Aug 19, 2024

This PR contains the following updates:

Package Type Update Change
oxsecurity/megalinter action major v6.3.0 -> v8.3.0

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.


Release Notes

oxsecurity/megalinter

v8.3.0

Compare Source

  • Core

    • Display command log (truncated to 250 chars) even when LOG_LEVEL is not DEBUG
    • Allow to replace an ENV var value with the value of another ENV var before calling a PRE_COMMAND (helps for tflint run from GitHub Enterprise)
    • Fix handling of git submodule paths
  • Fixes

    • trivy: retry in case of BLOB_UNKNOWN while downloading vulnerability list
  • Reporters

    • Fix UpdatedSourcesReporter when APPLY_FIXES is list (array)
    • Fix AzureCommentReporter when the repo is not found: fallback using BUILD_REPOSITORY_ID. (+ disable space replacement in repo name with AZURE_COMMENT_REPORTER_REPLACE_WITH_SPACES: false)
  • CI

    • Fix Docker mirroring job for release context
    • Remove max parallel jobs for release linters workflow
  • Linter versions upgrades (13)

v8.2.0

Compare Source

  • Media

  • Linters enhancements

    • detekt Enable SARIF output + count errors
    • lintr: Support files in subdirectories, fix unit tests
    • phpcs: Activate APPLY_FIXES
    • Salesforce linters: Add SF_CLI_DISABLE_AUTOUPDATE for SF CLI JIT plugins
    • trivy: handle retry if failed to download Java DB is detected
    • tsqllint Re-enabled after .net 8 and security updates
  • Fixes

    • Add message in PR comment if FAIL_IF_UPDATED_SOURCES is triggered
    • Fix linting errors in GitHub Actions template
  • Reporters

    • UpdatedSourcesReporter will git commit & push fixed files to source branch if APPLY_FIXES is set
    • Fix AzureCommentReporter not adding comments to PR
    • Fix AzureCommentReporter fails when target repo contains spaces
  • Doc

    • Updated documentation with Azure central pipeline use case
    • Update DevSkim documentation to show a valid exclusion config file
    • Note about risky rules and how to fix rule violations with PHP-CS-Fixer
  • CI

    • Also prune volumes before pulling and pushing to docker hub
    • Externalize mirroring from ghcr.io to docker hub in another workflow to avoid memory issues
    • Squash docker images to have less layers and size
    • Comment jobs related to GitHub Worker images, as CodeTotal is not actively maintained
    • Make gitpod workflow not blocking until uv install is fixed
    • Update stale comment
    • Try several times to embed trivy db during Docker build, as a workaround to the random failures
    • Wait 10 secondes instead of 1 before retrying a failing test method, to avoid race conditions
  • Linter versions upgrades (104)

v8.1.0

Compare Source

  • Core

    • Allow to tag PRE_COMMANDS to run them before loading plugins, by @​nvuillam in #​3944
    • Replace usage of setup.py with a pyproject.toml package install, by @​echoix in #​3893
    • Allow to add custom messages at the end of PR / MR MegaLinter Summary using variable JOB_SUMMARY_ADDITIONAL_MARKDOWN
  • New linters

  • Linters enhancements

    • Trivy
      • Embed vulnerability database in Docker Image for running trivy on internet-free network
      • Retry 5 times after 3 seconds in case of TooManyRequests when downloading vulnerability database
      • If the retries did not succeed, call trivy with --skip-db-update --skip-check-update (not ideal but better than nothing)
    • Bash/Perl: Support shell scripts with no extension and only support perl shebangs at the beginning of a file in #​4076
  • Fixes

    • APPLY_FIXES and for PHP_PHPCSFIXER linter, by @​llaville in #​3963
    • Add debug traces to investigate reporters activation
    • Add more traces for ApiReporter
    • Activate ApiReporter by default
  • Reporters

    • Fix ApiReporter not called in MegaLinter flavors
  • Doc

    • Fix Grafana Home Dashboard to add missing criteria
    • Update PRE_COMMANDS documentation to describe all properties
    • Update Grafana documentation to fix secrets typo
  • CI

    • Free space in release job to avoid no space left on device, by @​nvuillam in #​3914
    • Add pytest-rerunfailures to improve CI control jobs success, by @​AlejandroSuero in #​3993
    • Send GITHUB_TOKEN to trivy-action
    • Workaround to avoid to reach Docker Hub rate limits: Build & push first on ghcr.io, then login to docker hub, then push to docker hub
  • Linter versions upgrades

v8.0.0

Compare Source

Upgrade to v8 Video

v7.13.0

Compare Source

v7.12.0

Compare Source

v7.11.1

Compare Source

  • Fixes

    • Implement fallback in case git diff does not work with merge-base
  • Linter versions upgrades

v7.11.0

Compare Source

v7.10.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

@chii-bot chii-bot bot requested a review from toboshii as a code owner August 19, 2024 22:20
@chii-bot chii-bot bot added renovate/github-release renovate/github-action type/major area/github Changes made in the github directory size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Aug 19, 2024
@chii-bot
Copy link
Contributor Author

chii-bot bot commented Aug 19, 2024

🦙 MegaLinter status: ❌ ERROR

Descriptor Linter Files Fixed Errors Elapsed time
❌ ACTION actionlint 1 1 0.01s
❌ COPYPASTE jscpd yes 5 1.25s
✅ REPOSITORY git_diff yes no 0.04s
✅ REPOSITORY secretlint yes no 1.74s
✅ YAML prettier 1 0 0.37s
✅ YAML yamllint 1 0 0.38s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@chii-bot chii-bot bot force-pushed the renovate/oxsecurity-megalinter-8.x branch from 69ef318 to efca9e7 Compare October 13, 2024 11:16
@chii-bot chii-bot bot changed the title feat(github-action)!: Update oxsecurity/megalinter action to v8.0.0 feat(github-action)!: Update oxsecurity/megalinter action to v8.1.0 Oct 13, 2024
@chii-bot chii-bot bot force-pushed the renovate/oxsecurity-megalinter-8.x branch from efca9e7 to 40a8dbe Compare November 17, 2024 14:17
@chii-bot chii-bot bot changed the title feat(github-action)!: Update oxsecurity/megalinter action to v8.1.0 feat(github-action)!: Update oxsecurity/megalinter action to v8.2.0 Nov 17, 2024
| datasource  | package               | from   | to     |
| ----------- | --------------------- | ------ | ------ |
| github-tags | oxsecurity/megalinter | v6.3.0 | v8.3.0 |
@chii-bot chii-bot bot force-pushed the renovate/oxsecurity-megalinter-8.x branch from 40a8dbe to e1ab98b Compare November 23, 2024 11:17
@chii-bot chii-bot bot changed the title feat(github-action)!: Update oxsecurity/megalinter action to v8.2.0 feat(github-action)!: Update oxsecurity/megalinter action to v8.3.0 Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/github Changes made in the github directory renovate/github-action renovate/github-release size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. type/major
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants