File tree Expand file tree Collapse file tree 2 files changed +31
-2
lines changed
Expand file tree Collapse file tree 2 files changed +31
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,35 @@ name: CI
22
33on : [push, pull_request]
44jobs :
5+ codacy-security-scan :
6+ name : Codacy Security Scan
7+ runs-on : ubuntu-latest
8+ steps :
9+ # Checkout the repository to the GitHub Actions runner
10+ - name : Checkout code
11+ uses : actions/checkout@v2
12+
13+ # Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis
14+ - name : Run Codacy Analysis CLI
15+ uses : codacy/codacy-analysis-cli-action@d840f886c4bd4edc059706d09c6a1586111c540b
16+ with :
17+ # Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository
18+ # You can also omit the token and run the tools that support default configurations
19+ project-token : ${{ secrets.CODACY_PROJECT_TOKEN }}
20+ verbose : true
21+ output : results.sarif
22+ format : sarif
23+ # Adjust severity of non-security issues
24+ gh-code-scanning-compat : true
25+ # Force 0 exit code to allow SARIF file generation
26+ # This will handover control about PR rejection to the GitHub side
27+ max-allowed-issues : 2147483647
28+
29+ # Upload the SARIF file generated in the previous step
30+ - name : Upload SARIF results file
31+ uses : github/codeql-action/upload-sarif@v1
32+ with :
33+ sarif_file : results.sarif
534 run :
635 runs-on : ubuntu-latest
736 steps :
Original file line number Diff line number Diff line change 44
55------
66
7- [ ![ Codacy Badge] ( https://app.codacy.com/project/badge/Grade/202440df15224535b5358503e6235c88 )] ( https://www.codacy.com/gh/alexpdev/TorrentFile /dashboard?utm_source=github.com& ; utm_medium=referral& ; utm_content=alexpdev/torrentfile& ; utm_campaign=Badge_Grade )
8- [ ![ codecov ] ( https://codecov.io/gh/alexpdev/TorrentFile/branch/master/graph/badge.svg?token=PXFsxXVAHW )] ( https://codecov.io /gh/alexpdev/torrentfile )
7+ [ ![ Codacy Badge] ( https://app.codacy.com/project/badge/Grade/2da47ec1b5904538a40230f049a02be4 )] ( https://www.codacy.com/gh/alexpdev/torrentfile /dashboard?utm_source=github.com& ; utm_medium=referral& ; utm_content=alexpdev/torrentfile& ; utm_campaign=Badge_Grade )
8+ [ ![ Codacy Badge ] ( https://app.codacy.com/project/badge/Coverage/2da47ec1b5904538a40230f049a02be4 )] ( https://www.codacy.com /gh/alexpdev/torrentfile/dashboard?utm_source=github.com&utm_medium=referral&utm_content=alexpdev/torrentfile&utm_campaign=Badge_Coverage )
99![ GitHub repo size] ( https://img.shields.io/github/repo-size/alexpdev/torrentfile )
1010![ GitHub License] ( https://img.shields.io/github/license/alexpdev/torrentfile )
1111![ PyPI - Downloads] ( https://img.shields.io/pypi/dw/torrentfile )
You can’t perform that action at this time.
0 commit comments