Skip to content

advanced-security/delombok

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

⚠️ Note: CodeQL 2.14.4+ (GitHub Enterprise Server 3.11+) now natively supports Java codebases that use Project Lombok. Use this action for legacy configurations.

delombok GitHub action

Inspired by https://github.com/lcartey/delombok-action

The above action works great for most repositories. Unfortunately, it fails to delombok certain versions of the source code of WebGoat. The action in this repository uses a similar technique and additionally tries to guard against those error conditions.

After the delombok process, the action tries to format the resulting Java files such that they look as close to the original files as possible. That way GitHub Code Scanning will be able to extract and analyze the files and the results are likely to be displayed correctly.

Usage

Run the delombok action before CodeQL github/codeql-action/autobuild action or before the code is compiled (maven, graddle,...) in case you are not using autobuild.

- uses: advanced-security/delombok@v1