Skip to content

Codacy CI

Codacy CI #69

Workflow file for this run

name: Codacy CI
on:
push:
branches: ['main', 'dev']
pull_request:
branches: ['main']
schedule:
- cron: '40 13 * * 4'
permissions:
contents: read
jobs:
codacy-scan:
permissions:
contents: read
security-events: write
actions: read
name: Codacy Scan
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Codacy Analysis CLI
uses: codacy/codacy-analysis-cli-action@d840f886c4bd4edc059706d09c6a1586111c540b
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@v2
with:
sarif_file: results.sarif