| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
Commit Queue failed- Loading data for nodejs/node/pull/40740 ✔ Done loading data for nodejs/node/pull/40740 ----------------------------------- PR info ------------------------------------ Title tools: only validate first commit message of a PR (#40740) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch aduh95:lint-only-first-commit-message -> nodejs:master Labels meta Commits 2 - tools: only validate first commit message of a PR - Update .github/workflows/commit-lint.yml Committers 2 - Antoine du Hamel - GitHub PR-URL: https://github.com/nodejs/node/pull/40740 Reviewed-By: Michaël Zasso Reviewed-By: Luigi Pinca ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/40740 Reviewed-By: Michaël Zasso Reviewed-By: Luigi Pinca -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last review: ⚠ - Update .github/workflows/commit-lint.yml ℹ This PR was created on Sat, 06 Nov 2021 09:23:07 GMT ✔ Approvals: 2 ✔ - Michaël Zasso (@targos) (TSC): https://github.com/nodejs/node/pull/40740#pullrequestreview-799430947 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/40740#pullrequestreview-799469206 ✔ Last GitHub Actions successful ℹ Green GitHub Actions CI is sufficient -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/1436426233 |
Sorry, something went wrong.
Commit Queue failed- Loading data for nodejs/node/pull/40740 ✔ Done loading data for nodejs/node/pull/40740 ----------------------------------- PR info ------------------------------------ Title tools: only validate first commit message of a PR (#40740) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch aduh95:lint-only-first-commit-message -> nodejs:master Labels meta, commit-queue-squash Commits 2 - tools: only validate first commit message of a PR - Update .github/workflows/commit-lint.yml Committers 2 - Antoine du Hamel - GitHub PR-URL: https://github.com/nodejs/node/pull/40740 Reviewed-By: Michaël Zasso Reviewed-By: Luigi Pinca ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/40740 Reviewed-By: Michaël Zasso Reviewed-By: Luigi Pinca -------------------------------------------------------------------------------- ⚠ Commits were pushed since the last review: ⚠ - Update .github/workflows/commit-lint.yml ℹ This PR was created on Sat, 06 Nov 2021 09:23:07 GMT ✔ Approvals: 2 ✔ - Michaël Zasso (@targos) (TSC): https://github.com/nodejs/node/pull/40740#pullrequestreview-799430947 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/40740#pullrequestreview-799469206 ✔ Last GitHub Actions successful ℹ Green GitHub Actions CI is sufficient -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/1454898010 |
Sorry, something went wrong.
PR-URL: #40740 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
PR-URL: #40740 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
PR-URL: #40740 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
| Back | FazBrowse Home | New Git URL |
The commit-lint job was introduced to encourage contributors to generate PRs that would be landable using the CQ IIRC.
Now that #40577 has introduced commit-queue-squash mechanism, having the commint-lint job lint all commit message defeats its purpose as it won't let the CQ land a PR if any of its commit do not conform to our guidelines – even though in the case of a squash, only the first commit message matters.
I'm suggesting validating only the first commit message, and discarding follow up commits in the validation.
I have thought about making the job label-aware, and if the PR has a commit-queue-rebase label validate all the commits: that might be more effort than what's worth, the CQ will refuse to land a PR if the commit message do not pass the validation anyway.