Skip to content

Commit 713094f

Browse files
authored
fix: look for either yml/yaml for GHA (#268)
Signed-off-by: Henry Schreiner <[email protected]>
1 parent f18ed30 commit 713094f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sp_repo_review/checks/github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def workflows(root: Traversable) -> dict[str, Any]:
1717
workflows_dict: dict[str, Any] = {}
1818
if workflows_base_path.is_dir():
1919
for workflow_path in workflows_base_path.iterdir():
20-
if workflow_path.name.endswith(".yml"):
20+
if workflow_path.name.endswith((".yml", ".yaml")):
2121
with workflow_path.open("rb") as f:
2222
workflows_dict[Path(workflow_path.name).stem] = yaml.safe_load(f)
2323

0 commit comments

Comments
 (0)