123456789101112131415161718192021222324252627 |
- name: Codacy Security Scan
- on:
- push:
- branches: [ master ]
- pull_request:
- branches: [ master ]
- jobs:
- codacy-security-scan:
- name: Codacy Security Scan
- runs-on: ubuntu-latest
- steps:
- - name: Checkout code
- uses: actions/checkout@v2
- - name: Run Codacy Analysis CLI
- uses: codacy/codacy-analysis-cli-action@1.1.0
- with:
- project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
- verbose: true
- output: results.sarif
- format: sarif
- gh-code-scanning-compat: true
- max-allowed-issues: 2147483647
- - name: Upload SARIF results file
- uses: github/codeql-action/upload-sarif@v1
- with:
- sarif_file: results.sarif
|