Skip to content

chore(ci): consolidate commitlint into ci.yaml and share setup composite#125

Merged
wadackel merged 1 commit into
mainfrom
chore/gha-3
May 16, 2026
Merged

chore(ci): consolidate commitlint into ci.yaml and share setup composite#125
wadackel merged 1 commit into
mainfrom
chore/gha-3

Conversation

@wadackel
Copy link
Copy Markdown
Collaborator

Summary

  • Consolidate the standalone commitlint.yaml workflow into ci.yaml as a parallel commitlint job (gated on github.event_name == 'pull_request').
  • Add an install input (default 'true') to the setup composite action. When set to 'false', the pnpm store cache and pnpm i --frozen-lockfile steps are skipped, so jobs that only need mise-provided binaries can reuse the composite.
  • Switch the actionlint workflow to call ./.github/actions/setup with install: 'false' instead of invoking jdx/mise-action directly. The paths: ['.github/**'] filter is preserved, so actionlint.yaml stays as a separate workflow.

Motivation: ravelact static analysis surfaced that three PR-triggered workflows share checkout + setup boilerplate. Pulling commitlint into ci.yaml removes one duplicate trigger surface, and the new install flag lets actionlint reuse the same composite without forcing an unnecessary pnpm install.

References

  • n/a

Move the commitlint job into ci.yaml as a parallel job (pull_request only)
and delete the standalone commitlint.yaml workflow.

Add an `install` input to the setup composite action so jobs that only need
mise-provided binaries (e.g. actionlint) can skip `pnpm install`. Switch the
actionlint workflow to reuse the setup composite with `install: false`
instead of calling jdx/mise-action directly. The `paths: ['.github/**']`
filter is preserved on actionlint.yaml.
@wadackel wadackel merged commit b95f358 into main May 16, 2026
7 checks passed
@wadackel wadackel deleted the chore/gha-3 branch May 16, 2026 14:08
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