From bd61cd02679363adee149b997690e11d12c01844 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 28 Jan 2020 15:28:12 -0800 Subject: [PATCH] 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 --- tools/gulp-tasks/validate-commit-message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gulp-tasks/validate-commit-message.js b/tools/gulp-tasks/validate-commit-message.js index 6dc192e7a8..704e2d1fba 100644 --- a/tools/gulp-tasks/validate-commit-message.js +++ b/tools/gulp-tasks/validate-commit-message.js @@ -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}`);