Skip to content
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

chore: remove commit lint from pull requests #7957

Merged
merged 2 commits into from Feb 4, 2022
Merged

chore: remove commit lint from pull requests #7957

merged 2 commits into from Feb 4, 2022

Conversation

OrKoN
Copy link
Collaborator

@OrKoN OrKoN commented Feb 2, 2022

The commit log is still checked post-merge. Before the merge the commit message is checked using a git hooks and conventionalcommits.org check on the PR using Github Actions.

@OrKoN OrKoN changed the title chore: remove commit lint from pull requests wrong: remove commit lint from pull requests Feb 2, 2022
@OrKoN OrKoN changed the title wrong: remove commit lint from pull requests chore: remove commit lint from pull requests Feb 2, 2022
@OrKoN
Copy link
Collaborator Author

OrKoN commented Feb 4, 2022

@mathiasbynens @johanbay PTAL

@OrKoN OrKoN enabled auto-merge (squash) February 4, 2022 11:28
@@ -26,7 +26,7 @@
"commitlint": "commitlint --from=HEAD~1",
"markdownlint": "prettier --check **/README.md docs/troubleshooting.md",
"markdownlint-fix": "prettier --write **/README.md docs/troubleshooting.md",
"lint": "npm run eslint && npm run build && npm run doc && npm run commitlint && npm run markdownlint",
"lint": "npm run eslint && npm run build && npm run doc && npm run markdownlint",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could consider making a new target ci-lint or similar that skips commitlint and leave the lint target as is? That way, devs still runs commitlint in their local workflows per default.

@OrKoN OrKoN merged commit 09ff56b into main Feb 4, 2022
@OrKoN OrKoN deleted the chore-commitlint branch February 4, 2022 19:42
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.

None yet

2 participants