From 4db82ebf96a1edf75f3e5155286aa1ef033432d5 Mon Sep 17 00:00:00 2001 From: strangiato Date: Tue, 23 Nov 2021 14:20:50 -0600 Subject: [PATCH] remove redundant " --- yamllint/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yamllint/cli.py b/yamllint/cli.py index f3e12ef..3fbb8b8 100644 --- a/yamllint/cli.py +++ b/yamllint/cli.py @@ -104,7 +104,7 @@ def show_problems(problems, file, args_format, no_warn): first = True if args_format == 'auto': - if ('GITHUB_ACTIONS' in os.environ and \ + if ('GITHUB_ACTIONS' in os.environ and 'GITHUB_WORKFLOW' in os.environ): args_format = 'github' elif supports_color():