Skip to content

Commit

Permalink
Merge pull request #39 from 0xPolygon/security-sonarcloud
Browse files Browse the repository at this point in the history
Update Sonarcloud
  • Loading branch information
mt-polygon-technology authored Dec 6, 2023
2 parents 5399f88 + b565429 commit 8f4596d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: SonarQube analysis

on:
push:
branches:
- develop
pull_request:
types: [opened, synchronize, reopened]
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
22 changes: 0 additions & 22 deletions .github/workflows/sonarqube.yml

This file was deleted.

3 changes: 2 additions & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
sonar.projectKey=zkevm-node
sonar.projectKey=0xPolygon_cdk-validium-node
sonar.organization=0xpolygon

0 comments on commit 8f4596d

Please sign in to comment.