diff --git a/yamllint/cli.py b/yamllint/cli.py index 604e5940..a87a1dd5 100644 --- a/yamllint/cli.py +++ b/yamllint/cli.py @@ -79,9 +79,9 @@ def standard_color(problem, filename): @staticmethod def github(problem, filename): - line = f'::{problem.level} file={format(filename)},' \ - f'line={format(problem.line)},col={format(problem.column)}' \ - f'::{format(problem.line)}:{format(problem.column)} ' + line = f'::{problem.level} file={filename),' \ + f'line={problem.line},col={problem.column}' \ + f'::{problem.line}:{fproblem.column} ' if problem.rule: line += f'[{problem.rule}] ' line += problem.desc