Skip to content

ci(release): pass dispatch inputs via env; read-only by default - #824

Merged
antosubash merged 5 commits into
mainfrom
fix/s04-release-inputs
Nov 5, 2026
Merged

antosubash merged 5 commits into
mainfrom
fix/s04-release-inputs

Conversation

@antosubash

Copy link
Copy Markdown
Owner

Hardening for the release workflow:

  • The resolve job reads inputs.version / inputs.bump from step env: instead of templating them into the bash source, so the version string is data that the existing regex validates.
  • Workflow-level permissions drop to contents: read. Only publish-pypi / publish-npm (OIDC id-token: write) and finalize (contents: write for the release commit, tag and GitHub Release) widen it.
  • Two tests in scripts/tests/test_scripts_release_safety.py pin both rules.

Verified: the new tests fail on main and pass here; scripts/tests 217 passed; make lint clean.

https://claude.ai/code/session_01M9neheZZEe3sVpDi2S3zT4

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Deploying simple-module-python with  Cloudflare Pages  Cloudflare Pages

Latest commit: e82a213
Status: ✅  Deploy successful!
Preview URL: https://b71b2832.simple-module-python.pages.dev
Branch Preview URL: https://fix-s04-release-inputs.simple-module-python.pages.dev

View logs

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-11-05T14:06:00.543255Z b053807 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@antosubash
antosubash merged commit 96d3e2b into main Nov 5, 2026
16 checks passed
@antosubash
antosubash deleted the fix/s04-release-inputs branch November 5, 2026 21:48
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