Skip to content

tbx workflow update ignores current directory #707

@Shmuma

Description

@Shmuma

Summary

Command tbx workflow update doesn't check for the directory it is being run.
If you run it in some subdirectory, it will create .github dir in that directory, instead of updating the top-level .github dir.

Reproducing the Issue

Reproducibility: always

Steps to reproduce the behavior:

  1. clone repository with python-toolbox
  2. cd to some subdirectory of the project
  3. run tbx workflow update there

Expected Behaviour

.github on the top of the repository is updated

Actual Behaviour

New .github dir is created in the wrong place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnwanted / harmful behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions