SasanLabs / VulnerableApp-facade

VulnerableApp-facade is probably most modern lightweight distributed farm of Vulnerable Applications built for handling wide range of vulnerabilities across tech stacks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a github action to validate the PR.

preetkaran20 opened this issue · comments

There is currently no Github action that validates the PR. Add the action to validate both javascript/typescript changes (npm run build) and also Lua changes in the PR.

Added the PR validation for the javascript/typescript module. Left part is LUA validation.

I can help could you provide further requirement details? thanks

Hi @lmcdo ,

So currently, this project has TypeScript/Javascript as well as Lua file (for openresty) and we are looking for a github action to compile and validate the PR before merging it into master.

Currently the github actions is there at https://github.com/SasanLabs/VulnerableApp-facade/blob/main/.github/workflows/Compile.yml and it is working fine for Typescript/Javascript but we want to include the LUA validator as well. Also I am not sure, if we are running unit tests for Typescript/Javascript as part of the PR build so wanted to validate that as well.

LUA script is present at: https://github.com/SasanLabs/VulnerableApp-facade/tree/main/lua-modules. it is invoked from https://github.com/SasanLabs/VulnerableApp-facade/blob/main/nginx.conf (nginx.conf)

Please let me know, if you need more information.

thanks,
Karan