Skip to content

Commit

Permalink
Add SonarQube
Browse files Browse the repository at this point in the history
  • Loading branch information
ryancooley committed Sep 22, 2023
1 parent 7b7ebb1 commit 485e0f1
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/sonarqube.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: SonarQube

on:
push:
branches:
- develop
pull_request:
types: [opened, synchronize, reopened]

jobs:
build:
name: Scan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
1 change: 1 addition & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sonar.projectKey=ProcessMaker_processmaker-bpmn-moddle_AYq6DEfuxYvY_isvKwQD

0 comments on commit 485e0f1

Please sign in to comment.