fintalk-pkg 2.3.26 → 2.4.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/CODEOWNERS +1 -0
- package/.github/workflows/sonarqube.yml +33 -0
- package/model/Customer.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
* @fintalk-ai/codeowners
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
name: Sonarqube Checks
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- '*'
|
|
7
|
+
pull_request:
|
|
8
|
+
types: [opened, synchronize, reopened]
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
build:
|
|
12
|
+
name: Build
|
|
13
|
+
runs-on: self-hosted
|
|
14
|
+
permissions: read-all
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@v2
|
|
17
|
+
with:
|
|
18
|
+
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
|
19
|
+
- uses: sonarsource/sonarqube-scan-action@master
|
|
20
|
+
with:
|
|
21
|
+
args: >
|
|
22
|
+
-Dsonar.projectKey=fintalk-ai_${{ github.event.repository.name }}
|
|
23
|
+
env:
|
|
24
|
+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
|
25
|
+
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
|
|
26
|
+
# If you wish to fail your job when the Quality Gate is red, uncomment the
|
|
27
|
+
# following lines. This would typically be used to fail a deployment.
|
|
28
|
+
# We do not recommend to use this in a pull request. Prefer using pull request
|
|
29
|
+
# decoration instead.
|
|
30
|
+
# - uses: sonarsource/sonarqube-quality-gate-action@master
|
|
31
|
+
# timeout-minutes: 5
|
|
32
|
+
# env:
|
|
33
|
+
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
package/model/Customer.js
CHANGED