From a282d5586452cf6e35d07dac1507767941327a58 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Mon, 1 Feb 2021 11:29:14 +0100 Subject: [PATCH] Add flag to action --- action/main.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/action/main.ts b/action/main.ts index b300c56c9..731ed8969 100755 --- a/action/main.ts +++ b/action/main.ts @@ -117,6 +117,7 @@ async function run() { const allowConsoleErrors = getInput('allowConsoleErrors'); const exitZeroOnChanges = getInput('exitZeroOnChanges'); const exitOnceUploaded = getInput('exitOnceUploaded'); + const ignoreChangedFiles = getInput('ignoreChangedFiles'); const ignoreLastBuildOnBranch = getInput('ignoreLastBuildOnBranch'); process.env.CHROMATIC_SHA = sha; @@ -145,6 +146,7 @@ async function run() { exitZeroOnChanges: maybe(exitZeroOnChanges, true), exitOnceUploaded: maybe(exitOnceUploaded, false), allowConsoleErrors: maybe(allowConsoleErrors, false), + ignoreChangedFiles: maybe(ignoreChangedFiles), ignoreLastBuildOnBranch: maybe(ignoreLastBuildOnBranch), });