Skip to content

Commit 09ec705

Browse files
chore(deps): bump pip from 24.3.1 to 25.2 in /.github/pip (#23)
* chore(deps): bump pip from 24.3.1 to 25.2 in /.github/pip Bumps [pip](https://github.com/pypa/pip) from 24.3.1 to 25.2. - [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst) - [Commits](pypa/pip@24.3.1...25.2) --- updated-dependencies: - dependency-name: pip dependency-version: '25.2' dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * ci: add OSS Index auth to Nancy GitHub Action workflow Add optional OSS Index username and token secrets for Nancy authentication to improve vulnerability scan accuracy and avoid rate-limiting issues. Update Nancy version to v1.0.52 for latest features and fixes. This enhances security scanning in the CI pipeline by enabling authenticated OSS Index queries. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: mrz1836 <mrz1818@gmail.com>
1 parent 658ab5b commit 09ec705

5 files changed

Lines changed: 16 additions & 5 deletions

File tree

.github/.env.shared

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ GITLEAKS_VERSION=8.27.2 # Version of gitleaks to insta
5959
GORELEASER_VERSION=v2.11.0 # Version of goreleaser to install and use (vX.Y.Z) (https://github.com/goreleaser/goreleaser)
6060
GOVULNCHECK_VERSION=v1.1.4 # Version of govulncheck to use for Go vuln scanning (vX.Y.Z) (https://pkg.go.dev/golang.org/x/vuln)
6161
NANCY_EXCLUDES=CVE-2024-38513,CVE-2022-21698,CVE-2023-45142 # Known acceptable CVEs (cve,cve2,...)
62-
NANCY_VERSION=v1.0.51 # Version of nancy to install and use (vX.Y.Z) (https://github.com/sonatype-nexus-community/nancy)
62+
NANCY_VERSION=v1.0.52 # Version of nancy to install and use (vX.Y.Z) (https://github.com/sonatype-nexus-community/nancy)
6363
NODE_VERSION=20 # Node.js version for prettier and other tools (major version)
6464
PRETTIER_VERSION=3.6.2 # Version of prettier to use for YAML validation (X.Y.Z) (https://www.npmjs.com/package/prettier)
6565

.github/pip/pip-tools-requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
pip-tools==7.4.1
66
setuptools>=78.1.1
7-
pip<25 # pip 25.1 has compatibility issues with pip-tools on Python 3.13
7+
pip<26 # pip 25.1 has compatibility issues with pip-tools on Python 3.13

.github/pip/pip-tools-requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ wheel==0.45.1 \
3232
# via pip-tools
3333

3434
# The following packages are considered to be unsafe in a requirements file:
35-
pip==24.3.1 \
36-
--hash=sha256:3790624780082365f47549d032f3770eeb2b1e8bd1f7b2e02dace1afa361b4ed \
37-
--hash=sha256:ebcb60557f2aefabc2e0f918751cd24ea0d56d8ec5445fe1807f1d2109660b99
35+
pip==25.2 \
36+
--hash=sha256:578283f006390f85bb6282dffb876454593d637f5d1be494b5202ce4877e71f2 \
37+
--hash=sha256:6d67a2b4e7f14d8b31b8b52648866fa717f45a1eb70e83002f4331d07e953717
3838
# via
3939
# -r pip-tools-requirements.in
4040
# pip-tools

.github/workflows/fortress-security-scans.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ on:
4747
gitleaks-license:
4848
description: "Gitleaks license key"
4949
required: false
50+
ossi-username:
51+
description: "OSS Index username for Nancy authentication"
52+
required: false
53+
ossi-token:
54+
description: "OSS Index token for Nancy authentication"
55+
required: false
5056

5157
permissions:
5258
contents: read
@@ -110,6 +116,9 @@ jobs:
110116
- name: 🔍 Ask Nancy
111117
uses: sonatype-nexus-community/nancy-github-action@726e338312e68ecdd4b4195765f174d3b3ce1533 # v1.0.3
112118
continue-on-error: false
119+
env: # Authentication for OSS Index (recommended)
120+
OSSI_USERNAME: ${{ secrets.ossi-username }}
121+
OSSI_TOKEN: ${{ secrets.ossi-token }}
113122
with:
114123
githubToken: ${{ secrets.github-token }} # ← prevents rate-limit 403
115124
nancyVersion: ${{ env.NANCY_VERSION }}

.github/workflows/fortress.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ jobs:
163163
secrets:
164164
github-token: ${{ secrets.GH_PAT_TOKEN != '' && secrets.GH_PAT_TOKEN || secrets.GITHUB_TOKEN }}
165165
gitleaks-license: ${{ secrets.GITLEAKS_LICENSE }}
166+
ossi-username: ${{ secrets.OSSI_USERNAME }}
167+
ossi-token: ${{ secrets.OSSI_TOKEN }}
166168
# ----------------------------------------------------------------------------------
167169
# Code Quality Checks
168170
# ----------------------------------------------------------------------------------

0 commit comments

Comments
 (0)