Enhance README with features and usage details #71
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: Install presidio-analyzer | |
| run: pip install presidio-analyzer | |
| - 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 --upgrade pip | |
| pip install -r requirements.txt | |
| - name: Run scan | |
| run: | | |
| source venv/bin/activate | |
| python main.py | |
| ##- name: Upload scan report | |
| ## uses: actions/upload-artifact@v4 | |
| ## with: | |
| ## name: scan_report | |
| ## path: reports/scan_report.json |