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:
- clone repository with python-toolbox
- cd to some subdirectory of the project
- 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.
Summary
Command
tbx workflow updatedoesn't check for the directory it is being run.If you run it in some subdirectory, it will create
.githubdir in that directory, instead of updating the top-level.githubdir.Reproducing the Issue
Reproducibility: always
Steps to reproduce the behavior:
tbx workflow updatethereExpected Behaviour
.github on the top of the repository is updated
Actual Behaviour
New .github dir is created in the wrong place.