Skip to content

ci: block unconventional commits in pull requests - #182

Merged
vitormattos merged 1 commit into
LibreSign:mainfrom
DieimesNunes:ci/block-unconventional-commits
Nov 22, 2026
Merged

vitormattos merged 1 commit into
LibreSign:mainfrom
DieimesNunes:ci/block-unconventional-commits

Conversation

@DieimesNunes

Copy link
Copy Markdown
Contributor

Resolves / related issue

Closes #39

Summary and validation

This PR adds a GitHub Actions workflow to validate Conventional Commits messages in pull requests to the LibreSign documentation repository.

The workflow follows the existing implementation in LibreSign/libresign and:

  • Runs when a pull request is opened, reopened, updated, or marked ready for review.
  • Uses webiny/action-conventional-commits to validate commit messages.
  • Uses read-only repository permissions and disables persisted checkout credentials.
  • Cancels superseded workflow runs for the same branch.

Local validation

  • YAML syntax and expected workflow structure validated successfully.
  • git diff --cached --check passed.
  • Only one workflow file added: .github/workflows/block-unconventional-commits.yml.
  • Commit includes the required DCO sign-off.

The workflow's execution will be verified by GitHub Actions after the PR is submitted.

Navigable preview

Not applicable. This PR only adds a CI workflow and does not modify rendered documentation pages.

Checklist

  • No release-specific documentation or OpenAPI contracts were changed.
  • GitHub Actions execution verified (pending).
  • No rendered documentation pages changed; preview not applicable.
  • No secrets or personal data included.
  • Changes are focused on the requested CI improvement.
  • Commit includes DCO sign-off.

AI assistance

AI assistance was used for implementation guidance and local validation. The workflow was based on the existing LibreSign implementation.

Signed-off-by: Dieimes Nunes <dieimes.nunes@gmail.com>
@vitormattos
vitormattos merged commit f30cedf into LibreSign:main Nov 22, 2026
4 checks passed
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.

Add GitHub Action to block unconventional commits

2 participants