René's URL Explorer Experiment


Title: Promote PR bump preview to a reusable workflow in setup-cz · Issue #1959 · commitizen-tools/commitizen · GitHub

Open Graph Title: Promote PR bump preview to a reusable workflow in setup-cz · Issue #1959 · commitizen-tools/commitizen

X Title: Promote PR bump preview to a reusable workflow in setup-cz · Issue #1959 · commitizen-tools/commitizen

Description: Description Following the rollout of the PR bump preview pattern across three repos (#1510), the workflow is currently duplicated in three places: commitizen-tools/commitizen/.github/workflows/pr-bump-preview.yml commitizen-tools/commiti...

Open Graph Description: Description Following the rollout of the PR bump preview pattern across three repos (#1510), the workflow is currently duplicated in three places: commitizen-tools/commitizen/.github/workflows/pr-b...

X Description: Description Following the rollout of the PR bump preview pattern across three repos (#1510), the workflow is currently duplicated in three places: commitizen-tools/commitizen/.github/workflows/pr-b...

Opengraph URL: https://github.com/commitizen-tools/commitizen/issues/1959

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Promote PR bump preview to a reusable workflow in setup-cz","articleBody":"### Description\n\nFollowing the rollout of the PR bump preview pattern across three repos (#1510), the workflow is currently duplicated in three places:\n\n- `commitizen-tools/commitizen/.github/workflows/pr-bump-preview.yml`\n- `commitizen-tools/commitizen-action/.github/workflows/pr-bump-preview.yml`\n- `commitizen-tools/setup-cz/examples/pr-bump-preview.yaml` (copy-paste source for end users)\n\nThe recent security fix (same-repo guard + `persist-credentials: false`) had to be applied to all three copies independently. Future maintenance — new `actions/checkout` versions, comment-action upgrades, additional flags — will incur the same per-repo cost.\n\n### Possible Solution\n\nPromote the example into a **reusable workflow** hosted in `commitizen-tools/setup-cz`.\n\n**Files**\n\n1. New `setup-cz/.github/workflows/pr-bump-preview.yml` with `on: workflow_call` and inputs:\n   - `cz-version` (default `latest`) → forwarded to `setup-cz`\n   - `extra-requirements` (default empty) → forwarded to `setup-cz`\n   - `ref` (optional) → checkout ref override\n2. `examples/pr-bump-preview-wrapper.yaml` shrinks to a thin wrapper showing `uses: commitizen-tools/setup-cz/.github/workflows/pr-bump-preview.yml@v1`.\n\n**Consumer wrapper (~8 lines)**\n\n```yaml\non:\n  pull_request_target:\n    types: [opened, reopened, synchronize, ready_for_review]\npermissions: { contents: read, pull-requests: write }\njobs:\n  preview:\n    uses: commitizen-tools/setup-cz/.github/workflows/pr-bump-preview.yml@v1\n```\n\n**Migration**\n\nAfter this lands and a setup-cz release is cut:\n\n- This repo: replace the 80-line workflow with the 8-line wrapper.\n- `commitizen-tools/commitizen-action`: same.\n\n**Why a reusable workflow (not a composite action)?**\n\nA composite action would still need every consumer to write the `pull_request_target` trigger, the same-repo guard, the checkout, and the comment-posting step. Those are the exact bits we want to deduplicate. Reusable workflows encapsulate the whole job.\n\n**Why now wasn't the right time**\n\nDoing this in the original three PRs was rejected to avoid cross-repo merge coordination and to gather data on what inputs actually matter. Once the workflow has run on a few real PRs, we'll know whether `working-directory`, `cz-version` overrides, etc. are actually needed before committing them to a public reusable-workflow contract.\n\n### Additional context\n\nMirrors `commitizen-tools/setup-cz#20` so this work item is also tracked here for visibility alongside the original feature request.\n\nAcceptance:\n\n- [ ] Reusable workflow at `setup-cz/.github/workflows/pr-bump-preview.yml`\n- [ ] Trimmed example at `examples/pr-bump-preview-wrapper.yaml`\n- [ ] Tag a setup-cz release containing the new workflow\n- [ ] Follow-up PR here swapping the workflow for the wrapper\n- [ ] Follow-up PR in `commitizen-tools/commitizen-action` swapping the workflow for the wrapper\n\n### Related issues\n\n- Implements deduplication of work delivered in #1957 (this repo), commitizen-tools/commitizen-action#102, commitizen-tools/setup-cz#19\n- Original feature request: #1510\n- Cross-org tracker: commitizen-tools/setup-cz#20\r\n","author":{"url":"https://github.com/bearomorphism","@type":"Person","name":"bearomorphism"},"datePublished":"2026-05-09T08:59:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1959/commitizen/issues/1959"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:23c3cef0-ca12-2f17-3d12-065d4028ee4e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC864:F33D5:5DCA2B:7D19BA:6A4DA6FF
html-safe-noncef2b9d29d27c1b51419adaa92b3dbc89014dc7363f1063274e632c7cff29550c2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODY0OkYzM0Q1OjVEQ0EyQjo3RDE5QkE6NkE0REE2RkYiLCJ2aXNpdG9yX2lkIjoiNzI3NjU0MDQyNzk1OTY0MTg1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac05ff48dc088a248a8396735a6e6b240970e3280ecffc5e2e5e2b7a334ced3e61
hovercard-subject-tagissue:4411927457
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/commitizen-tools/commitizen/1959/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c7ec2b57cf2893c44fe9e5ea9eecdeb35187f048890d2941a7bc2d913d2f926e/commitizen-tools/commitizen/issues/1959
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c7ec2b57cf2893c44fe9e5ea9eecdeb35187f048890d2941a7bc2d913d2f926e/commitizen-tools/commitizen/issues/1959
og:image:altDescription Following the rollout of the PR bump preview pattern across three repos (#1510), the workflow is currently duplicated in three places: commitizen-tools/commitizen/.github/workflows/pr-b...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebearomorphism
hostnamegithub.com
expected-hostnamegithub.com
None06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33
turbo-cache-controlno-preview
go-importgithub.com/commitizen-tools/commitizen git https://github.com/commitizen-tools/commitizen.git
octolytics-dimension-user_id62252524
octolytics-dimension-user_logincommitizen-tools
octolytics-dimension-repository_id106127589
octolytics-dimension-repository_nwocommitizen-tools/commitizen
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id106127589
octolytics-dimension-repository_network_root_nwocommitizen-tools/commitizen
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release47723578ce6819210724ef064c858fce6d3115a3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/commitizen-tools/commitizen/issues/1959#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcommitizen-tools%2Fcommitizen%2Fissues%2F1959
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcommitizen-tools%2Fcommitizen%2Fissues%2F1959
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=commitizen-tools%2Fcommitizen
Reloadhttps://github.com/commitizen-tools/commitizen/issues/1959
Reloadhttps://github.com/commitizen-tools/commitizen/issues/1959
Reloadhttps://github.com/commitizen-tools/commitizen/issues/1959
Please reload this pagehttps://github.com/commitizen-tools/commitizen/issues/1959
commitizen-tools https://github.com/commitizen-tools
commitizenhttps://github.com/commitizen-tools/commitizen
Please reload this pagehttps://github.com/commitizen-tools/commitizen/issues/1959
Notifications https://github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen
Fork 343 https://github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen
Star 3.5k https://github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen
Code https://github.com/commitizen-tools/commitizen
Issues 116 https://github.com/commitizen-tools/commitizen/issues
Pull requests 45 https://github.com/commitizen-tools/commitizen/pulls
Discussions https://github.com/commitizen-tools/commitizen/discussions
Actions https://github.com/commitizen-tools/commitizen/actions
Projects https://github.com/commitizen-tools/commitizen/projects
Security and quality 0 https://github.com/commitizen-tools/commitizen/security
Insights https://github.com/commitizen-tools/commitizen/pulse
Code https://github.com/commitizen-tools/commitizen
Issues https://github.com/commitizen-tools/commitizen/issues
Pull requests https://github.com/commitizen-tools/commitizen/pulls
Discussions https://github.com/commitizen-tools/commitizen/discussions
Actions https://github.com/commitizen-tools/commitizen/actions
Projects https://github.com/commitizen-tools/commitizen/projects
Security and quality https://github.com/commitizen-tools/commitizen/security
Insights https://github.com/commitizen-tools/commitizen/pulse
Promote PR bump preview to a reusable workflow in setup-czhttps://github.com/commitizen-tools/commitizen/issues/1959#top
issue-status: needs-triagehttps://github.com/commitizen-tools/commitizen/issues?q=state%3Aopen%20label%3A%22issue-status%3A%20needs-triage%22
type: ci/cdhttps://github.com/commitizen-tools/commitizen/issues?q=state%3Aopen%20label%3A%22type%3A%20ci%2Fcd%22
type: featureA new enhacement proposalhttps://github.com/commitizen-tools/commitizen/issues?q=state%3Aopen%20label%3A%22type%3A%20feature%22
https://github.com/bearomorphism
bearomorphismhttps://github.com/bearomorphism
on May 9, 2026https://github.com/commitizen-tools/commitizen/issues/1959#issue-4411927457
#1510https://github.com/commitizen-tools/commitizen/issues/1510
ci: add PR bump preview workflow #1957https://github.com/commitizen-tools/commitizen/pull/1957
feat: rework PR bump preview workflow commitizen-action#102https://github.com/commitizen-tools/commitizen-action/pull/102
feat(examples): add PR bump preview example setup-cz#19https://github.com/commitizen-tools/setup-cz/pull/19
Generate expected bump version comment when receiving a new pull request #1510https://github.com/commitizen-tools/commitizen/issues/1510
Promote PR bump preview example to a reusable workflow setup-cz#20https://github.com/commitizen-tools/setup-cz/issues/20
issue-status: needs-triagehttps://github.com/commitizen-tools/commitizen/issues?q=state%3Aopen%20label%3A%22issue-status%3A%20needs-triage%22
type: ci/cdhttps://github.com/commitizen-tools/commitizen/issues?q=state%3Aopen%20label%3A%22type%3A%20ci%2Fcd%22
type: featureA new enhacement proposalhttps://github.com/commitizen-tools/commitizen/issues?q=state%3Aopen%20label%3A%22type%3A%20feature%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.