Revert "ci: filter out bad commit from the commit message check to green up master (#35017)" (#35024)
This reverts commit 85c4f3aa8da3cb880bf4baefbb8e6327f0f60c91. PR Close #35024
This commit is contained in:
parent
23c0147f25
commit
8b858fb30a
@ -31,7 +31,7 @@ module.exports = (gulp) => () => {
|
|||||||
// We need to fetch origin explicitly because it might be stale.
|
// We need to fetch origin explicitly because it might be stale.
|
||||||
// I couldn't find a reliable way to do this without fetch.
|
// I couldn't find a reliable way to do this without fetch.
|
||||||
const result = shelljs.exec(
|
const result = shelljs.exec(
|
||||||
`git fetch origin ${baseBranch} && git log --reverse --format=%s origin/${baseBranch}..HEAD | grep -v "#34769"`);
|
`git fetch origin ${baseBranch} && git log --reverse --format=%s origin/${baseBranch}..HEAD`);
|
||||||
|
|
||||||
if (result.code) {
|
if (result.code) {
|
||||||
throw new Error(`Failed to fetch commits: ${result.stderr}`);
|
throw new Error(`Failed to fetch commits: ${result.stderr}`);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user