diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml
index 0b41db2..0aea911 100644
--- a/.github/workflows/sonarcloud.yml
+++ b/.github/workflows/sonarcloud.yml
@@ -3,23 +3,37 @@ name: SonarCloud analysis
on:
pull_request:
branches: ['main']
+ push:
+ branches: ['main']
workflow_dispatch:
permissions:
pull-requests: read
+ contents: read
jobs:
Analysis:
runs-on: ubuntu-latest
steps:
- - name: Analyze with SonarCloud
+ - name: Checkout code
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+
+ - name: Set up JDK 17
+ uses: actions/setup-java@v3
+ with:
+ java-version: '17'
+ distribution: 'temurin'
- uses: SonarSource/sonarcloud-github-action@de2e56b42aa84d0b1c5b622644ac17e505c9a049
+ - name: SonarCloud Scan
+ uses: SonarSource/sonarqube-scan-action@v2
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information
- SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Generate a token on Sonarcloud.io, add it to the secrets of this repo with the name SONAR_TOKEN (Settings > Secrets > Actions > add new repository secret)
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
- args:
+ args: >
-Dsonar.projectKey=dd3tech_dd360-components-docs
-Dsonar.organization=dd3tech-1
+ -Dsonar.host.url=https://sonarcloud.io
diff --git a/docs/components/tag.mdx b/docs/components/tag.mdx
index 0cbd7e4..575fffe 100644
--- a/docs/components/tag.mdx
+++ b/docs/components/tag.mdx
@@ -11,7 +11,7 @@ components: Tag
#
-The Tag component serves to provide a visual and semantic way to label, categorize, or mark elements within a user interface. These tags are useful for organizing and highlighting specific information, allowing users to quickly identify the nature or purpose of an item.
+The Tag test component serves to provide a visual and semantic way to label, categorize, or mark elements within a user interface. These tags are useful for organizing and highlighting specific information, allowing users to quickly identify the nature or purpose of an item.