-
-
Notifications
You must be signed in to change notification settings - Fork 544
36 lines (32 loc) · 961 Bytes
/
codeclimate_standalone.yml
File metadata and controls
36 lines (32 loc) · 961 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This is a basic workflow that is manually triggered
name: CodeClimate Standalone workflow
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: read
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
code-quality:
name: Code Climate Standalone
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Run Code Climate
uses: erzz/codeclimate-standalone@v0.0.5
with:
html_report: true
info_threshold: 50
minor_threshold: 25
major_threshold: 30
critical_threshold: 5
blocker_threshold: 1
- name: Upload Report
uses: actions/upload-artifact@v4
if: always()
with:
name: Code Climate Report
path: |
codeclimate-report.json
codeclimate-report.html