Skip to content

Commit

Permalink
Merge pull request #324 from zowe/ci/add-audit-workflow
Browse files Browse the repository at this point in the history
Add pip audit workflow
t1m0thyj authored Aug 26, 2024
2 parents 59d3aad + 206ee84 commit 82ac81a
Showing 4 changed files with 29 additions and 2 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Audit

on:
pull_request:
branches:
- main
schedule:
- cron: '0 10 * * *'

jobs:
audit:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Check Vulnerabilities
uses: pypa/[email protected]
with:
inputs: requirements.txt docs/requirements.txt
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,12 @@

All notable changes to the Zowe Client Python SDK will be documented in this file.

## Recent Changes

### Bug Fixes

- Fixed Core SDK package referencing a non-existent version of Secrets SDK.

## `1.0.0-dev20`

### Enhancements
2 changes: 1 addition & 1 deletion scripts/license_header.py
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ def main():
if "build" in root.split(os.path.sep):
continue
for file in files:
if file.endswith(".py") and file is not "_version.py":
if file.endswith(".py") and os.path.basename(file) != "_version.py":
file_path = os.path.join(root, file)
if not check_and_add_license_header(file_path, write_header):
print(f"License header missing in: {file_path}")
2 changes: 1 addition & 1 deletion src/core/setup.py
Original file line number Diff line number Diff line change
@@ -40,6 +40,6 @@
"requests~=2.32.0",
"urllib3~=1.26.18",
],
extras_require={"secrets": [resolve_sdk_dep("secrets", "~=" + __version__)]},
extras_require={"secrets": [resolve_sdk_dep("secrets", "~=1.0.0.dev")]},
packages=find_namespace_packages(include=["zowe.*"]),
)

0 comments on commit 82ac81a

Please sign in to comment.