Skip to content

Commit 2e59226

Browse files
committed
chore(ci): use pipx for detect-secrets install
1 parent 7a6b0d6 commit 2e59226

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

.github/workflows/leaked-secrets-scan.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,8 @@ jobs:
1919
uses: actions/checkout@v6
2020
with:
2121
fetch-depth: 0
22-
- name: Set up Python
23-
uses: actions/setup-python@v6
24-
with:
25-
python-version: '3.12'
26-
cache: 'pip'
2722
- name: Install detect-secrets
28-
run: |
29-
python -m pip install --upgrade pip
30-
pip install detect-secrets
23+
run: pipx install detect-secrets
3124
- name: Verify baseline exists
3225
run: |
3326
if [ ! -f .secrets.baseline ]; then

0 commit comments

Comments
 (0)