-
-
Notifications
You must be signed in to change notification settings - Fork 2
BREAKING CHNAGE: Upgrade commit-check to v2.0.0 #152
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
Changes from all commits
f5fc99e
01d98b6
70a31f4
4e5410a
2d5dfe0
6cbe8b5
1f6c524
31b4871
eb895f4
d36e878
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[commit] | ||
# https://www.conventionalcommits.org | ||
conventional_commits = true | ||
subject_capitalized = false | ||
subject_imperative = true | ||
subject_max_length = 80 | ||
subject_min_length = 5 | ||
allow_commit_types = ["feat", "fix", "docs", "style", "refactor", "test", "chore", "ci"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Restore the full Conventional Commit type set. We reference the Conventional Commits spec here, but -allow_commit_types = ["feat", "fix", "docs", "style", "refactor", "test", "chore", "ci"]
+allow_commit_types = ["feat", "fix", "docs", "style", "refactor", "test", "chore", "ci", "build", "perf"] 🤖 Prompt for AI Agents
|
||
allow_merge_commits = true | ||
allow_revert_commits = true | ||
allow_empty_commits = false | ||
allow_fixup_commits = true | ||
allow_wip_commits = false | ||
require_body = false | ||
require_signed_off_by = false | ||
ignore_authors = ["dependabot[bot]", "copilot[bot]", "pre-commit-ci[bot]"] | ||
|
||
[branch] | ||
# https://conventional-branch.github.io/ | ||
conventional_branch = true | ||
allow_branch_types = ["feature", "bugfix", "hotfix", "release", "chore", "feat", "fix"] | ||
shenxianpeng marked this conversation as resolved.
Show resolved
Hide resolved
|
||
require_rebase_target = "origin/main" | ||
ignore_authors = ["dependabot[bot]", "copilot[bot]", "pre-commit-ci[bot]"] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Install commit-check CLI | ||
# For details please see: https://github.com/commit-check/commit-check | ||
commit-check==0.10.2 | ||
commit-check==2.0.0 | ||
# Interact with the GitHub API. | ||
PyGithub==2.8.1 |
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.
Restore checkout fallback for non-PR runs.
github.event.pull_request.head.ref
is undefined duringworkflow_dispatch
, so checkout receives an emptyref
and the workflow aborts on manual runs. Please fall back togithub.ref_name
/github.sha
so both PR and dispatch executions work.📝 Committable suggestion
🤖 Prompt for AI Agents