Skip to content

Commit

Permalink
FIX: create .github/workflows directory if non-existent
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Oct 6, 2023
1 parent 1042c08 commit 83146b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/repoma/check_dev_files/github_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def remove_workflow(filename: str) -> None:


def update_workflow(yaml: YAML, config: dict, path: Path) -> None:
path.parent.mkdir(exist_ok=True)
path.parent.mkdir(exist_ok=True, parents=True)
yaml.dump(config, path)
verb = "Updated" if path.exists() else "Created"
msg = f'{verb} "{path}" workflow'
Expand Down

0 comments on commit 83146b8

Please sign in to comment.