Add Dependabot config, security policy and PyPI release workflow - #6
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
The repository had none of these. Dependabot alerts were enabled but security updates were not, so the 16 alerts accumulated for two years with nothing opening a pull request to fix them. - `dependabot.yml`: pip and github-actions ecosystems, monthly, with dev minor/patch updates grouped into a single pull request. Grouping is what keeps this sustainable; ungrouped, a stale lock produces a flood that gets ignored. Monthly rather than weekly to match the repository's actual pace. Because the actions are pinned by SHA, Dependabot updates the SHA and the version comment together. - `SECURITY.md`: supported versions and private reporting through GitHub Security Advisories. Private vulnerability reporting has to be enabled in the repository settings for the advisory link to work for non-collaborators. - `release.yml`: publishes on a published GitHub release using PyPI Trusted Publishing (OIDC), so no long-lived PyPI API token is needed. It asserts the git tag matches the version in pyproject before building, because nothing else catches that mismatch. `id-token: write` also covers the PEP 740 attestations that the publish action generates by default. Verified `poetry build` produces correct metadata under the new PEP 621 layout: Requires-Python >=3.10, classifiers generated for 3.10-3.14, and `stopwatch/py.typed` still shipped so PEP 561 typing keeps working. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Matches the change in the quality and tests workflows. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
devRMA
force-pushed
the
chore/security-policy
branch
from
August 2, 2026 19:52
9ae63ce to
70157fd
Compare
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.
The repository had none of these. Dependabot alerts were enabled but
security updates were not, so the 16 alerts accumulated for two years
with nothing opening a pull request to fix them.
dependabot.yml: pip and github-actions ecosystems, monthly, withdev minor/patch updates grouped into a single pull request. Grouping
is what keeps this sustainable; ungrouped, a stale lock produces a
flood that gets ignored. Monthly rather than weekly to match the
repository's actual pace. Because the actions are pinned by SHA,
Dependabot updates the SHA and the version comment together.
SECURITY.md: supported versions and private reporting through GitHubSecurity Advisories. Private vulnerability reporting has to be enabled
in the repository settings for the advisory link to work for
non-collaborators.
release.yml: publishes on a published GitHub release using PyPITrusted Publishing (OIDC), so no long-lived PyPI API token is needed.
It asserts the git tag matches the version in pyproject before
building, because nothing else catches that mismatch.
id-token: writealso covers the PEP 740 attestations that the publish actiongenerates by default.
Verified
poetry buildproduces correct metadata under the new PEP 621layout: Requires-Python >=3.10, classifiers generated for 3.10-3.14, and
stopwatch/py.typedstill shipped so PEP 561 typing keeps working.Co-Authored-By: Claude Opus 5 noreply@anthropic.com
Stack created with GitHub Stacks CLI • Give Feedback 💬