Skip to content

feat: add reusable conventional-commits and release workflows#40

Draft
alexmohr wants to merge 1 commit into
mainfrom
feat/reusable-workflows
Draft

feat: add reusable conventional-commits and release workflows#40
alexmohr wants to merge 1 commit into
mainfrom
feat/reusable-workflows

Conversation

@alexmohr
Copy link
Copy Markdown
Contributor

@alexmohr alexmohr commented May 7, 2026

Summary

  • Add conventional-commits.yml reusable workflow that validates PR titles (via amannn/action-semantic-pull-request@v6) and individual commit messages (via conventional-pre-commit) against the Conventional Commits specification
  • Add release.yml reusable workflow that packages build artifacts into platform archives, generates changelogs with git-cliff, creates SHA-512 checksums, optionally attests build provenance, and publishes GitHub Releases
  • Document both workflows in README with usage examples and input descriptions

Checklist

  • I have tested my changes locally
  • I have added or updated documentation
  • I have linked related issues or discussions
  • I have added or updated tests

Notes for Reviewers

Split from #39 to keep that PR focused on pre-commit hook configuration changes.


Alexander Mohr alexander.m.mohr@mercedes-benz.com, Mercedes-Benz Tech Innovation GmbH
Provider Information

alexmohr added a commit to eclipse-opensovd/classic-diagnostic-adapter that referenced this pull request May 7, 2026
Re-use reusable workflows from eclipse-opensovd/cicd-workflows#40.
The conventional-commits workflow validates PR titles and commit subjects.
The release workflow builds cross-platform binaries and publishes GitHub
Releases with changelog and attestation.

Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
Add two new reusable GitHub Actions workflows:

- conventional-commits.yml: Validates PR titles and commit messages
  against the Conventional Commits specification using
  amannn/action-semantic-pull-request and prek (pre-commit hook runner).
  CI and local dev experience are identical - both read from the same
  .pre-commit-config.yaml.

- release.yml: Packages build artifacts into platform archives,
  generates changelogs with git-cliff, creates SHA-512 checksums,
  optionally attests build provenance, and publishes GitHub Releases.

Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
@alexmohr alexmohr force-pushed the feat/reusable-workflows branch from df0f51a to d5b941c Compare May 7, 2026 13:18
@alexmohr alexmohr marked this pull request as draft May 8, 2026 04:52
@alexmohr
Copy link
Copy Markdown
Contributor Author

alexmohr commented May 8, 2026

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