-
Notifications
You must be signed in to change notification settings - Fork 43
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
ci: correct commitlint usage #504
Conversation
old docs outdated conventional-changelog/commitlint#3947
this time i tested locally to make sure this substitution from the removed |
@tukusejssirs @emagnier trying to fix up the last of what i broke, i've tested this a bit more on other repos since i last changed this |
I’m just curious: what was wrong with In -l, --last just analyze the last commit; applies if edit=false That said, |
@tukusejssirs it's also not listed on their CLI reference |
ope! looks like they just readded it |
i'll retest locally and see if i can sort it out, i'll add the commitlint version print as well |
looks like the one i had installed is old. i'll get that updated and re-use |
ae062a0
to
a442e9a
Compare
@tukusejssirs let me know if you're satisfied by this current state. to explain a bit, the prettier format -> dedupe -> sort would have to be in both the lint-staged cleanup and the dedupe on the check to ensure they both format out the same |
At first, I’ve thought you sorted However, now the PR name and description does not match the changes made. You seem to prettify and sort |
Oh, and here the auto-merge goes: I wanted you change the PR desc, but not to slow you down by waiting on me to approve the changes … I have forgotten about the auto-merge being enabled. |
I'm happy to do another, but i'm not sure that I understand what you're asking. I change them in CI after deduping (as mentioned above) so that it's the same treatment they'd get from the commit hook to format -> dedupe -> sort so there'd be no git differences, which would fail the dedupe check |
I think the dedupe check (specifically the check, not the local part) just may not work out due to how it interferes with dependabot updates, and we have no way of forcing dependabot to dedupe |
Nothing to do anymore. I was suggesting to update the OP which could be used in the MR commit message which is not the case on GitHub when squashing the changes (0c92112). Anyway, I still don’t really like the the auto-merge option being enabled, as whenever I (or someone else) approve a PR, it might still have some nitpicks which I raise without requiring them, thus I let the PR author decide whether they implement them or not. Sometimes another reviewer (e.g. Etienne) might disagree with me, however, the PR would be already merged, thus a revert would be potentially required. |
old docs outdated conventional-changelog/commitlint#3947