From d0afac0236006a9a1872a577c966a19fb9d16df5 Mon Sep 17 00:00:00 2001
From: Michael Kriese <michael.kriese@visualon.de>
Date: Wed, 17 Jan 2024 16:10:12 +0100
Subject: [PATCH] ci(scorecard): delete fixtures to suppress false positives
 (#26707)

---
 .github/workflows/scorecard.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml
index d19ded7344..e9d0e82bf0 100644
--- a/.github/workflows/scorecard.yml
+++ b/.github/workflows/scorecard.yml
@@ -24,6 +24,10 @@ jobs:
         with:
           persist-credentials: false
 
+      - name: Delete fixtures to suppress false positives
+        run: |
+          find ./lib -type d -name '__fixtures__' -exec rm -rf {} \; || true
+
       - name: 'Run analysis'
         uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
         with:
-- 
GitLab