Skip to content

Commit

Permalink
chore: Add SonarCube security scan workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
yonas committed Nov 23, 2024
1 parent d1da014 commit cb489fb
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/security.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
# Trigger analysis when pushing to your main branches, and when creating a pull request.
push:
branches:
- main
- 'releases/**'
pull_request:
types: [opened, synchronize, reopened]

name: SonarQube Security
jobs:
analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Disabling shallow clones is recommended for improving the relevancy of reporting
fetch-depth: 0

- name: SonarQube Scan
uses: sonarsource/[email protected]

0 comments on commit cb489fb

Please sign in to comment.