Skip to content

Updated Sources Reporter

Posts a pack of files containing only the source files fixed by linters

This folder can be unpacked to currently repository to apply automated fixes on the repository

Usage

Access GitHub action run

Screenshot

Click on Artifacts then click on MegaLinter reports

Screenshot

Open the downloaded zip file and copy the content of folder updated_sources

Screenshot

Screenshot

Paste the result in your repository

Other CI tools

If you are not using GitHub Actions, you can:

  • use File.io Reporter: Updated sources folder will be in the downloadable reports zip
  • use Email Reporter: Updated source folder will be in the email attachment reports zip
  • publish folder <WORKSPACE>/report/updated_sources as artifact with your CI tool

Configuration

Variable Description Default value
UPDATED_SOURCES_REPORTER Activates/deactivates reporter true
UPDATED_SOURCES_REPORTER_DIR Sub-folder of reports folder containing updated sources updated_sources