From 3e62f11af8abe1c289c0d76a6ab292acf07562d1 Mon Sep 17 00:00:00 2001 From: thies Date: Sun, 10 Jan 2021 18:42:55 +0100 Subject: [PATCH] hmmm --- .github/workflows/codeinspector.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/codeinspector.yml diff --git a/.github/workflows/codeinspector.yml b/.github/workflows/codeinspector.yml new file mode 100644 index 0000000..25080ed --- /dev/null +++ b/.github/workflows/codeinspector.yml @@ -0,0 +1,21 @@ +on: [push] + +jobs: + check-quality: + runs-on: ubuntu-latest + name: A job to check my code quality + steps: + - name: Check code meets quality standards + id: code-inspector + uses: codeinspectorio/github-action@master + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + code_inspector_access_key: ${{ secrets.CODE_INSPECTOR_ACCESS_KEY }} + code_inspector_secret_key: ${{ secrets.CODE_INSPECTOR_SECRET_KEY }} + min_quality_grade: 'WARNING' + min_quality_score: '50' + max_defects_rate: '0.0001' + max_complex_functions_rate: '0.0001' + max_long_functions_rate: '0.0001' + project_name: '' + max_timeout_sec: '600' \ No newline at end of file