Skip to content

Commit d77c970

Browse files
committed
Change check_name to try and associate annotations with correct run, and add some deliberate errors.
1 parent 53e8445 commit d77c970

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

flake8_github_action/__init__.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def action(
9292
check = Checks(
9393
owner=github_username,
9494
repository_name=repo_name,
95-
check_name="Linting",
95+
check_name="Flake8",
9696
head_sha=dulwich_repo.head().decode("UTF-8"),
9797
token=token.value,
9898
)
@@ -128,7 +128,11 @@ def action(
128128
conclusion="success", # TODO: reflect flake8 output
129129
output={
130130
"title": "Flake8 checks",
131-
"summary": "Output from Flake8",
131+
"summary": "Output from Flake8",
132132
"annotations": [a.to_dict() for a in annotation_chunks[-1]],
133133
},
134134
)
135+
136+
137+
138+

0 commit comments

Comments
 (0)