-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add git-audit Action to the build workflow
- Loading branch information
1 parent
19cbd9e
commit aae32ed
Showing
3 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,6 +85,12 @@ jobs: | |
echo "Digest of artifacts is $DIGEST." | ||
# Set the computed sha digest as the output of this job. | ||
echo "::set-output name=artifacts-sha256::$DIGEST" | ||
# Audit the required packages for security vulnerabilities. | ||
- name: Audit required packages | ||
if: matrix.os == env.ARTIFACT_OS && matrix.python == env.ARTIFACT_PYTHON | ||
uses: pypa/[email protected] | ||
with: | ||
inputs: requirements.txt | ||
# For now only generate artifacts for the specified OS and Python version in env variables. | ||
# Currently reusable workflows do not support setting strategy property from the caller workflow. | ||
- name: Upload the package artifact for debugging and release | ||
|
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
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