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:
parent
98a6fb9192
commit
bd61cd0267
|
@ -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}`);
|
||||
|
|
Loading…
Reference in New Issue