Radarr/.github/workflows/sonarcloud.yml
admin 81b3814c1a ci: fix workflow configs and add dependabot
- SonarCloud: add proper projectKey and organization
- Trivy: fix image reference, add schedule comment
- Super Linter: upgrade to v6, configure linter selection
- Add Dependabot for NuGet, npm, Docker, GitHub Actions
2025-12-18 13:34:45 -06:00

38 lines
955 B
YAML

# SonarCloud analysis for code quality and security
#
# Setup required:
# 1. Create project at sonarcloud.io using your GitHub account
# 2. Add SONAR_TOKEN secret to repository (Settings > Secrets > Actions)
# 3. Update projectKey and organization below
name: SonarCloud
on:
push:
branches: [develop, main]
pull_request:
branches: [develop]
workflow_dispatch:
permissions:
pull-requests: read
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@v2
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >
-Dsonar.projectKey=cheir-mneme_aletheia
-Dsonar.organization=cheir-mneme
-Dsonar.sources=src
-Dsonar.exclusions=**/node_modules/**,**/bin/**,**/obj/**,**/*.min.js