refactor: CI workflows and improve commit-lint setup#26
Merged
Conversation
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
- drop setup-node and pin commitlint@19 at the npx call site - remove the unused parserPreset from the generated config - one validate step covers pr and push via COMMITLINT_ARGS Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
- replace the pip-installed mdformat with a single batched uvx invocation - remove setup-python and the full-history checkout; no lint step uses them Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
Updated commitlint rules to include sentence-case for header and subject.
Updated commitlint rules to include 'pascal-case' for header-case.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request mainly updates CI workflow files to improve consistency, streamline linting, and add local workflow testing support. The most important changes are grouped below.
CI Workflow Improvements:
.github/workflows/commit-job.yml: removed redundant steps, updated to usenpx --yes commitlint@19, and adjusted configuration for better maintainability..github/workflows/lint-job.ymlto useuvfor dependency management, removed unnecessary steps, and streamlined themdformatinvocation.Developer Experience:
run-commit-workflowtarget to theMakefilefor running the commit workflow locally usingact.Documentation:
SUPPORT.mdfor clarity.Related Issue(s)
N/A
Related Issue(s)
N/A
Motivation and Context
N/A
Usage examples
N/A
How Has This Been Tested?
N/A
Types of changes
Checklist: