-
Notifications
You must be signed in to change notification settings - Fork 11
ci: migrate the centralized add-license hook to the org .github repository #61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mc-nv
wants to merge
16
commits into
main
Choose a base branch
from
mchornyi/TRI-1100/github-align-hooks-and-templates
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+28
−417
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
f92aef4
ci: add centralized add-spdx-license hook
mc-nv bef38e6
ci: run in-tree hook versions in this repo's own pre-commit config
mc-nv 0060976
chore: align SPDX copyright text with NVIDIA Legal boilerplate
mc-nv c2f2363
ci: drop the add-spdx-license hook, keep add-license hardening
mc-nv 81c12bc
ci: drop the add-spdx-license hook, keep add-license hardening
mc-nv dd3aa7a
ci: route issue reporting to the server repository
mc-nv be09477
ci: share the server repository's PR templates
mc-nv 3c84d22
ci: migrate the centralized add-license hook to the org .github repo
mc-nv 0a4de80
ci: bump conventional-pr workflow to v1.1.0
mc-nv c263b82
ci: bump conventional-pr workflow to v1.2.1
mc-nv 81110a8
ci: bump conventional-pr workflow to v1.2.2
mc-nv 53a03dd
ci: bump conventional-pr workflow to v1.3.0
mc-nv b9014e7
ci: bump conventional-pr workflow to v1.3.1
mc-nv 9d59291
ci: pin org .github hooks and workflow to the same tag (v1.3.1)
mc-nv 0659fbd
ci: bump org .github hooks and workflow to v1.4.0
mc-nv d13254c
ci: bump org .github hooks and workflow to v1.4.1
mc-nv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question: This hook only validates commit messages. It does not check pull request titles. And we don't need to add rules to the commits because everything will be squashed at the end.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct on both points, and that's the intended division of labor: PR titles are validated in CI by the org-wide
conventional-prreusable workflow (triton-inference-server/.github, pinned @v1.4.1) — it gates the title, since squash-merge makes the title the commit that lands on main, and it also applies the type labels. This commit-msg hook is the local fast-feedback complement so contributors catch format issues before pushing, and conforming commit subjects additionally feed the PR's multi-type labeling. If the team prefers title-only enforcement, dropping the commit-msg hook is a one-line change per repo — happy to do that in a follow-up if you'd rather not have both.