Basic GitHub actions used in dashlord workflows.
Actions
| Action | Usage |
|---|---|
| init | read dashloard.yml |
| save | save a single url scan result for dashlord |
| report | build a report.json and website from latest scans |
cd report/www
yarn
yarn startThis will add report.json, config.json, trends.json in report/www/src
based on the content of DASHLORD_REPO_PATH :
DASHLORD_URLS=http://test1.com,http://test1.com \ # optional
DASHLORD_REPO_PATH=/path/to/some/dashlord-repo \ #optional
node report/src > report/www/src/report.json- create a GitHub action that can produce some JSON in your
scans/myaction.json - In
report/src/generateUrlReport, import the minimum from your action JSON to serve it to the frontend via the generatedreport.json - In
report/src/summary, add compute logic for your scanner score. - Build a new report.json, see above
- Run
yarn startin thereport/wwwfolder to start adding types from your action and UI for your component
