From e8958e43a9164c64dcb9cbb8e87249713bd6223b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B3nio=20Ferreira?= Date: Wed, 11 Sep 2024 14:02:13 +0200 Subject: [PATCH] Create sonarclould.yml (#2840) --- .github/workflows/sonarclould.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/sonarclould.yml diff --git a/.github/workflows/sonarclould.yml b/.github/workflows/sonarclould.yml new file mode 100644 index 0000000000..5334128d15 --- /dev/null +++ b/.github/workflows/sonarclould.yml @@ -0,0 +1,19 @@ +name: Sonarcloud +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened] +jobs: + sonarcloud: + name: SonarCloud + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: SonarCloud Scan + uses: SonarSource/sonarcloud-github-action@master + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}