Skip to content

Commit

Permalink
feat(ci): use a Github Repository Variable PIP_AUDIT_PACKAGES to co…
Browse files Browse the repository at this point in the history
…ntrol running `pip-audit` in CI
  • Loading branch information
jenstroeger committed May 23, 2023
1 parent faadc55 commit 3801c01
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,11 @@ jobs:
- name: Install dependencies
run: make setup

# Audit all currently installed packages for security vulnerabilities.
# Audit all currently installed packages for security vulnerabilities. This step can
# be disabled by removing the repository variable, or by setting it to any other value
# than 'true'.
- name: Audit installed packages
if: ${{ vars.PIP_AUDIT_PACKAGES == 'true' }}
run: make audit

# Build the sdist and wheel distribution of the package and docs as a zip file.
Expand Down

0 comments on commit 3801c01

Please sign in to comment.