From eb447a124558abfa162ad452e2b41a5f8bccbc82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Viguier?= Date: Tue, 29 Oct 2024 08:58:52 +0100 Subject: [PATCH] Disable snq if secret is not set (#2621) * disable snq if secret is not set * dependabots less spammy --- .github/dependabot.yml | 6 +++--- .github/workflows/php_no_legacy_tests.yml | 1 + .github/workflows/php_tests.yml | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 059da0ee618..bf92f2bf600 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,14 +3,14 @@ updates: - package-ecosystem: github-actions directory: / schedule: - interval: daily + interval: weekly - package-ecosystem: npm directory: / schedule: - interval: daily + interval: weekly - package-ecosystem: composer directory: / schedule: - interval: daily \ No newline at end of file + interval: weekly \ No newline at end of file diff --git a/.github/workflows/php_no_legacy_tests.yml b/.github/workflows/php_no_legacy_tests.yml index 16a4e1aa521..d18c6e06012 100644 --- a/.github/workflows/php_no_legacy_tests.yml +++ b/.github/workflows/php_no_legacy_tests.yml @@ -117,6 +117,7 @@ jobs: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: SonarCloud Scan + if: ${{ env.SONAR_TOKEN }} uses: SonarSource/sonarcloud-github-action@9f9bba2c7aaf7a55eac26abbac906c3021d211b2 # master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any diff --git a/.github/workflows/php_tests.yml b/.github/workflows/php_tests.yml index c8c529aeb24..f773d459371 100644 --- a/.github/workflows/php_tests.yml +++ b/.github/workflows/php_tests.yml @@ -113,6 +113,7 @@ jobs: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: SonarCloud Scan + if: ${{ env.SONAR_TOKEN }} uses: SonarSource/sonarcloud-github-action@9f9bba2c7aaf7a55eac26abbac906c3021d211b2 # master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any