codacy-analysis.yml 735 B

123456789101112131415161718192021222324252627
  1. name: Codacy Security Scan
  2. on:
  3. push:
  4. branches: [ master ]
  5. pull_request:
  6. branches: [ master ]
  7. jobs:
  8. codacy-security-scan:
  9. name: Codacy Security Scan
  10. runs-on: ubuntu-latest
  11. steps:
  12. - name: Checkout code
  13. uses: actions/checkout@v2
  14. - name: Run Codacy Analysis CLI
  15. uses: codacy/codacy-analysis-cli-action@1.1.0
  16. with:
  17. project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
  18. verbose: true
  19. output: results.sarif
  20. format: sarif
  21. gh-code-scanning-compat: true
  22. max-allowed-issues: 2147483647
  23. - name: Upload SARIF results file
  24. uses: github/codeql-action/upload-sarif@v1
  25. with:
  26. sarif_file: results.sarif