Skip to content

Commit

Permalink
Update CI_CD Pipeline.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AbuMecca authored Sep 2, 2024
1 parent 22c68e7 commit 3534822
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/CI_CD Pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,13 @@ jobs:
- name: Install detect-secrets
run: pip install --upgrade "git+https://github.com/ibm/detect-secrets.git@master#egg=detect-secrets"

- name: Initialize detect-secrets baseline if not exists
run: |
if [ ! -f .secrets.baseline ]; then
detect-secrets scan > .secrets.baseline
fi
- name: Run detect-secrets scan and update baseline
run: detect-secrets scan --update .secrets.baseline
- name: Run detect-secrets scan
run: detect-secrets scan --all-files --update .secrets.baseline

- name: Audit detect-secrets baseline
run: detect-secrets audit .secrets.baseline


sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3534822

Please sign in to comment.