From 036af704b4dc5c73f582477cf74c6a99136c9272 Mon Sep 17 00:00:00 2001 From: Smith Date: Mon, 17 Jul 2023 11:26:11 -0700 Subject: [PATCH 1/2] correct credentials scan failure. --- .github/workflows/credentials-scan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/credentials-scan.yml b/.github/workflows/credentials-scan.yml index eb0f1db6d1..40bc811edd 100644 --- a/.github/workflows/credentials-scan.yml +++ b/.github/workflows/credentials-scan.yml @@ -30,7 +30,7 @@ jobs: key: ${{ runner.os }}-pip - name: Install requirements - run: pip install trufflehog3 jtbl + run: pip install PyYAML==6.0 trufflehog3 jtbl - name: Scan with trufflehog3 id: scan From 05183fd05a63a76c48c31cd83da7510d1f3a0880 Mon Sep 17 00:00:00 2001 From: Smith Date: Mon, 17 Jul 2023 12:26:27 -0700 Subject: [PATCH 2/2] force dependency versions. --- .github/workflows/credentials-scan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/credentials-scan.yml b/.github/workflows/credentials-scan.yml index 40bc811edd..18e9a8eb66 100644 --- a/.github/workflows/credentials-scan.yml +++ b/.github/workflows/credentials-scan.yml @@ -30,7 +30,7 @@ jobs: key: ${{ runner.os }}-pip - name: Install requirements - run: pip install PyYAML==6.0 trufflehog3 jtbl + run: python3 -m pip install --no-deps trufflehog3 pyyaml==6.0 attrs==20.3.0 gitpython==3.1.30 jinja2==3.0.1 tabulate>=0.8.10 jtbl gitdb>=4.0.1 typing-extensions>=3.7.4.3 smmap>=3.0.1 markupsafe>=2.0 - name: Scan with trufflehog3 id: scan