ci: filter out bad commit from the commit message check to green up master (#35017)

the commit causes lint on upstream/master to fail. We need to fix the script to not check too many past commits, but that
will have to wait until a follow up PR.

PR Close #35017
This commit is contained in:
Igor Minar 2020-01-28 15:28:12 -08:00 committed by Andrew Kushnir
parent 98a6fb9192
commit bd61cd0267
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ module.exports = (gulp) => () => {
// We need to fetch origin explicitly because it might be stale.
// I couldn't find a reliable way to do this without fetch.
const result = shelljs.exec(
`git fetch origin ${baseBranch} && git log --reverse --format=%s origin/${baseBranch}..HEAD`);
`git fetch origin ${baseBranch} && git log --reverse --format=%s origin/${baseBranch}..HEAD | grep -v "#34769"`);
if (result.code) {
throw new Error(`Failed to fetch commits: ${result.stderr}`);