Skip to content

feat: share the pull request and repository workflows as reusable workflows - #2

Merged
versnic merged 1 commit into
mainfrom
feat/reusable-workflows
Nov 9, 2026
Merged

versnic merged 1 commit into
mainfrom
feat/reusable-workflows

Conversation

@versnic

@versnic versnic commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

What and why

Turns this repository into what its README planned: the shared workflows every modulane repository calls, so a fix made here reaches all of them through Dependabot.

  • pr-title, pr-labels, ai-disclosure, labels and zizmor gain a workflow_call trigger and keep running on this repository's own events.
  • pr-title takes a package-scope input, which replaces the extra package scope step that configs and nuxt-extras each carried.
  • pr-labels no longer assigns a bot author. GitHub refused that with HTTP 403, so the "Label from the title" job failed on every Dependabot pull request (seen on ci: bump zizmorcore/zizmor-action from 0.8.0 to 0.8.1 in the github-actions group dev-workspace-cli#80).
  • zizmor-action moves to v0.8.1.
  • A package.json and yarn.lock (Prettier, @modulane/prettier-config, semantic-release) let CI check formatting and the release job tag v1.0.0, as in ai-disclosure. release.yml now names this repository.
  • The README describes the workflows, how to call them, the check names they produce and what counts as a breaking change.

ci.yml and release.yml stay in each repository, since they run its own checks and release.

The callers are on ci/shared-workflows in repo-template and every other repository, pinned to this branch's commit for now. They move to the v1.0.0 commit once this is merged and released.

AI use

  • No AI tool was used
  • AI tools were used, as described here:

Claude Code made the workflows reusable, wrote the bot fix, the package setup and the README, and wrote the callers in the other repositories. I reviewed the changes.

Checklist

  • The title follows Conventional Commits (feat:, fix:, docs:, …) and is lowercase
  • Tests cover the change, or it needs none
  • The README, roadmap and guides are up to date with the change

🤖 Generated with Claude Code

…kflows

pr-title, pr-labels, ai-disclosure, labels and zizmor can now be called with workflow_call. pr-title takes a package-scope input for monorepos. pr-labels no longer tries to assign a bot author, which GitHub refused with HTTP 403 on every Dependabot pull request. zizmor-action moves to v0.8.1. A package.json and yarn.lock let the release job run semantic-release.
@versnic versnic self-assigned this Nov 9, 2026
@github-actions github-actions Bot added enhancement New feature or improvement release: minor Merging publishes a minor release (feat:) labels Nov 9, 2026
@versnic
versnic marked this pull request as ready for review November 9, 2026 18:16
@versnic
versnic merged commit 8a5ecaa into main Nov 9, 2026
6 checks passed
@versnic
versnic deleted the feat/reusable-workflows branch November 9, 2026 18:16
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@github-actions github-actions Bot added the released Included in a published release (added by semantic-release) label Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or improvement release: minor Merging publishes a minor release (feat:) released Included in a published release (added by semantic-release)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant