Repository navigation
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gauron99 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Pin every action to a commit SHA, with its version in a comment, and let Dependabot update both. pypa/gh-action-pypi-publish moves from its release/v1 branch to v1.14.3. The knative-*.yaml workflows stay at knative/actions@main, since knobots syncs them. Install Poetry 2.5.1 from .github/requirements.txt, which Dependabot now watches, instead of the newest release. publish.yaml builds with "poetry build" on Python 3.12 (same wheel and sdist as before), and ci.yaml runs the same build, so a Poetry update that breaks it fails the pull request.
gauron99
force-pushed
the
push-sstylxpktolx
branch
from
November 24, 2026 21:02
0bd4024 to
98ec5f5
Compare
gauron99
requested review from
lkingland
and
a balanced review from Copilot
and removed request for
matejvasek and
matzew
November 24, 2026 21:03
There was a problem hiding this comment.
🟢 Approval recommended
The CI and release workflow hardening changes have no active review issues.
No open issues 🎉
What changed in this PR
This PR hardens CI and release workflows by pinning tooling and adding a dependency advisory check.
Changes:
- Pins Actions to commit SHAs and Poetry to a shared requirements file monitored by Dependabot.
- Aligns release builds with
poetry buildand adds package building to CI. - Adds an OSV check that reports newly introduced advisories without uploading code-scanning alerts.
| File | Description |
|---|---|
.github/workflows/publish.yaml |
Pins Actions and builds distributions with pinned Poetry on Python 3.12. |
.github/workflows/osv-scanner.yaml |
Adds a pull-request check for newly introduced dependency advisories. |
.github/workflows/ci.yaml |
Pins Actions, installs pinned Poetry, and adds package building. |
.github/requirements.txt |
Pins Poetry to version 2.5.1 for workflow use. |
.github/dependabot.yml |
Extends Python dependency updates to workflow tooling in .github. |
Review effort: Balanced
OSV-Scanner scans the base branch and the pull request and fails when the pull request adds a dependency version with an advisory on OSV.dev, such as a known vulnerability or a malicious release. Advisories the base branch already has do not fail it, so one found in an old dependency does not block unrelated work. It runs with --no-resolve: .github/requirements.txt names only Poetry, and the scanner would otherwise guess older versions of Poetry's dependencies than pip installs and fail on their advisories.
gauron99
force-pushed
the
push-sstylxpktolx
branch
from
November 25, 2026 06:11
98ec5f5 to
4f23d80
Compare
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pins
Dependabot updates both.
Dependabot cannot update, to v1.14.3.
syncs them.
of the newest release. Dependabot now watches that file too.
poetry buildon Python 3.12 instead ofpython -m build. Poetry 2.5.1 requires poetry-core 2.5.0 exactly, sothe build backend is pinned as well. The wheel and sdist for 0.8.1 are
byte-identical to before.
poetry build, so a Poetry update that breaks thebuild fails its pull request, not the release.
OSV check
The same check as knative-extensions/func-go#208. OSV-Scanner scans the
base branch and the pull request, and fails when the pull request adds an
advisory the base branch does not have. Advisories already on main do not
fail it. Python has no call analysis, so any new advisory fails it. Results
show as pull request annotations and job artifacts, not code scanning
alerts.
It runs with
--no-resolve. .github/requirements.txt names only Poetry,and without the flag the scanner guesses versions for Poetry's
dependencies. On this PR it guessed anyio 4.9.0, certifi 2026.7.22,
filelock 3.19.1, idna 3.9.0 and virtualenv 21.9.1 and failed on their 24
advisories, while CI's pip installed 4.16.0, 2026.11.20, 4.3.1, 3.20 and
21.15.13, all past the fixes.
Not from this PR: "Publish to TestPyPI" fails on every push to main
(
400 File already exists, since the version stays 0.8.1). After thismerges, the "Build distribution" job of that run shows whether the new
build works.
🤖 Generated with Claude Code