From e9bf906df45c8dbb25c3e8b64331d19b0e49a9d0 Mon Sep 17 00:00:00 2001 From: arielsrodriguez Date: Mon, 28 Apr 2025 14:30:37 -0300 Subject: [PATCH 1/4] test sonar --- docs/components/tag.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.

From 84ebd27d4eb3fccdb292d3f2c17c01642fd81c3c Mon Sep 17 00:00:00 2001 From: arielsrodriguez Date: Mon, 28 Apr 2025 14:37:41 -0300 Subject: [PATCH 2/4] test sonar --- .github/workflows/sonarcloud.yml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 0b41db2..6eae337 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' + + - name: Analyze with SonarCloud uses: SonarSource/sonarcloud-github-action@de2e56b42aa84d0b1c5b622644ac17e505c9a049 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 }} + JAVA_HOME: ${{ env.JAVA_HOME }} with: - args: + args: > -Dsonar.projectKey=dd3tech_dd360-components-docs - -Dsonar.organization=dd3tech-1 + -Dsonar.organization=dd3tech-1 -Dsonar.java.jdkHome=$JAVA_HOME From 2855d04507b14fa9e8058a2e0c2fde435e9acb79 Mon Sep 17 00:00:00 2001 From: arielsrodriguez Date: Mon, 28 Apr 2025 14:40:54 -0300 Subject: [PATCH 3/4] test sonar --- .github/workflows/sonarcloud.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 6eae337..24291a2 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -27,13 +27,12 @@ jobs: java-version: '17' distribution: 'temurin' - - name: Analyze with SonarCloud - uses: SonarSource/sonarcloud-github-action@de2e56b42aa84d0b1c5b622644ac17e505c9a049 + - name: SonarCloud Scan + uses: SonarSource/sonarqube-scan-action@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - JAVA_HOME: ${{ env.JAVA_HOME }} with: args: > -Dsonar.projectKey=dd3tech_dd360-components-docs - -Dsonar.organization=dd3tech-1 -Dsonar.java.jdkHome=$JAVA_HOME + -Dsonar.organization=dd3tech-1 From 94f0e425b87f49220ea488c093df2b3e4f0d6027 Mon Sep 17 00:00:00 2001 From: arielsrodriguez Date: Mon, 28 Apr 2025 14:42:54 -0300 Subject: [PATCH 4/4] test sonar --- .github/workflows/sonarcloud.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 24291a2..0aea911 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -36,3 +36,4 @@ jobs: args: > -Dsonar.projectKey=dd3tech_dd360-components-docs -Dsonar.organization=dd3tech-1 + -Dsonar.host.url=https://sonarcloud.io