exasol / python-toolbox

Infrastructure & Automation Tooling for Python Projects
https://exasol.github.io/python-toolbox/
MIT License
5 stars 0 forks source link

🐞 Creating a single GitHub workflow file fails if directory .github/workflows exists already #298

Open ckunki opened 5 days ago

ckunki commented 5 days ago

Use case

Directory .github/workflows exists File .github/workflows/pr-merge.yml did not exist

Command

poetry run tbx workflow install pr-merge

Current behavior

Error message

FileExistsError: [Errno 17] File exists: '.github/workflows'

Expected behavior

PTB creates the file as the file does not overwrite an existing file.

ckunki commented 5 days ago

See also