Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SonarQube security scanner integraion #25

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/sonar_pr_scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

name: 'Quality Checks'

on:
pull_request:
types:
- opened
- edited
- reopened
- ready_for_review
- synchronize
branches: ['master']

jobs:
pr_sonarqube:
uses: kenshoo/actions/.github/workflows/sonar_scan.yml@master
secrets: inherit
11 changes: 11 additions & 0 deletions .github/workflows/sonar_weekly_scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

name: 'Weekly Quality Checks'

on:
schedule:
- cron: '0 3 * * 1'

jobs:
weekly_sonarqube:
uses: kenshoo/actions/.github/workflows/sonar_scan.yml@master
secrets: inherit
6 changes: 6 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

sonar.projectKey=gradle-liquibase-plugin

# relative paths to source directories. More details and properties are described
# at https://docs.sonarqube.org/latest/project-administration/narrowing-the-focus/
sonar.sources=.