mirror of https://github.com/1Panel-dev/1Panel
wanghe
1 year ago
committed by
GitHub
2 changed files with 33 additions and 0 deletions
@ -0,0 +1,20 @@
|
||||
name: Build |
||||
on: |
||||
push: |
||||
branches: |
||||
- dev |
||||
pull_request: |
||||
types: [opened, synchronize, reopened] |
||||
jobs: |
||||
sonarcloud: |
||||
name: SonarCloud |
||||
runs-on: ubuntu-latest |
||||
steps: |
||||
- uses: actions/checkout@v3 |
||||
with: |
||||
fetch-depth: 0 |
||||
- name: SonarCloud Scan |
||||
uses: SonarSource/sonarcloud-github-action@master |
||||
env: |
||||
GITHUB_TOKEN: ${{ secrets.GITHUBTOKEN }} |
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |
@ -0,0 +1,13 @@
|
||||
sonar.projectKey=1Panel-dev_1Panel |
||||
sonar.organization=1panel-dev |
||||
|
||||
# This is the name and version displayed in the SonarCloud UI. |
||||
#sonar.projectName=1Panel |
||||
#sonar.projectVersion=1.0 |
||||
|
||||
|
||||
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. |
||||
#sonar.sources=. |
||||
|
||||
# Encoding of the source code. Default is default system encoding |
||||
#sonar.sourceEncoding=UTF-8 |
Loading…
Reference in new issue