This is simple GitHub Action which gets GitHub Advanced Security - Code Scanning results to CSV using popular Nodejs json2csv
- Require
GITHUB_TOKEN
which is automatically generated GITHUB_TOKEN
should haveread
permission forsecurity
- This action generate
result.csv
file - Use GitHub Upload Action to upload the
result.csv
file
Usage:
- uses : son7211/GetCodeScanning_result-to-csv@master
with :
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: upload
uses: actions/upload-artifact@v2
with:
name: file
path: result.csv