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 c26ad11 commit 615d460
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/CI\CD Pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,23 @@ on:
types: [opened, synchronize, reopened]

jobs:
detect-secrets:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install detect-secrets
run: pip install --upgrade "git+https://github.com/ibm/detect-secrets.git@master#egg=detect-secrets"

- name: Run detect-secrets scan
run: detect-secrets scan --update .secrets.baseline

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

0 comments on commit 615d460

Please sign in to comment.