Merge pull request #196 from reuteras/dependabot/pip/ruff-0.6.9 #237
This file contains 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: GuardDog | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
guarddog: | |
permissions: | |
contents: read | |
security-events: write | |
name: Scan dependencies | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Install GuardDog | |
run: pip install guarddog | |
- name: Run GuardDog | |
run: guarddog pypi verify requirements.txt --output-format sarif > guarddog.sarif | |
- name: Upload SARIF file to GitHub | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
category: guarddog-builtin | |
sarif_file: guarddog.sarif |