casperkristiansson/CPython Patch PR Action

Automate CPython patch updates across Dockerfiles, workflows, and config files.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Dec 5, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: casperkristiansson/python-version-patch-pr@5a6596151ca42db0ffd06d8410eaed7efca09b50 # v1.6.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
trackCPython minor series to track (for example 3.13).no3.13
include_prereleaseInclude pre-release tags when resolving the latest patch version.nofalse
pathsNewline-separated glob patterns that determine which files to scan for pinned Python versions.no.github/workflows/**/*.yml Dockerfile **/Dockerfile **/*.python-version **/runtime.txt **/pyproject.toml
automergeAttempt to automerge the pull request after required checks succeed.nofalse
dry_runSkip file modifications and output the planned changes only.nofalse
security_keywordsNewline-separated keywords that must appear in the release notes before applying an update.no""
namedescription
new_versionResolved CPython patch version (for example 3.13.5).
files_changedJSON array listing files that were updated.
change_matrixJSON object suitable for GitHub Actions matrix with changed files and new version.
skipped_reasonMachine-readable reason describing why no update was applied.