From dd0e120b52dc4dd271ba7d48fa40a5af789210ed Mon Sep 17 00:00:00 2001 From: Justin Feng Date: Wed, 5 Jul 2023 11:30:48 +0800 Subject: [PATCH] Skip SonarCloud check on dependabot/* branch --- .github/workflows/tn.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tn.yml b/.github/workflows/tn.yml index 80ddd0d8..f94d46ce 100644 --- a/.github/workflows/tn.yml +++ b/.github/workflows/tn.yml @@ -20,6 +20,8 @@ jobs: - tn-p1 name: SonarCloud runs-on: ubuntu-latest + # dependabot created branch has a very long name, which will cause issue for SonarCloud + if: "!startsWith(github.head_ref, 'dependabot/')" steps: - uses: actions/checkout@v3 with: