This repository was archived by the owner on Dec 24, 2025. It is now read-only.
Combining of Scanner Workstreams #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Scan Repository for Sensitive Data | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| scan: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.9" | |
| - name: Install dependencies | |
| run: | | |
| python -m venv venv | |
| source venv/bin/activate | |
| pip install -r requirements.txt | |
| - name: Run scan | |
| run: | | |
| source venv/bin/activate | |
| python main.py | |
| - name: Upload scan report | |
| uses: actions/upload-artifact@v2 | |
| with: | |
| name: scan_report | |
| path: reports/scan_report.json |