Skip to content

Add Dependabot config, security policy and PyPI release workflow - #6

Merged
devRMA merged 2 commits into
chore/modern-toolchainfrom
chore/security-policy
Aug 2, 2026
Merged

Add Dependabot config, security policy and PyPI release workflow#6
devRMA merged 2 commits into
chore/modern-toolchainfrom
chore/security-policy

Conversation

@devRMA

@devRMA devRMA commented Aug 2, 2026

Copy link
Copy Markdown
Owner

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


Stack created with GitHub Stacks CLIGive Feedback 💬

@vercel

vercel Bot commented Aug 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
stopwatch2-omip Error Error Aug 2, 2026 7:53pm

devRMA and others added 2 commits August 2, 2026 16:52
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
devRMA force-pushed the chore/security-policy branch from 9ae63ce to 70157fd Compare August 2, 2026 19:52
@devRMA devRMA self-assigned this Aug 2, 2026
@devRMA
devRMA merged commit 3cf4b16 into main Aug 2, 2026
8 of 9 checks passed
@devRMA
devRMA deleted the chore/security-policy branch August 2, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant