Skip to content

test sonar #79

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
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
24 changes: 19 additions & 5 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion docs/components/tag.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ components: Tag

# <HeaderDocCustom title="Tag" pathUrl="components-tag--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.

<br />
<br />
Expand Down