Skip to content

Conversation

@jykingston
Copy link
Contributor

This is not ready for merge!

Running the BK CLI tool from any directory will create a local config. This PR is to change this functionality so that it does not create the local config unless the directory is a valid git repo.

@jykingston jykingston requested a review from a team as a code owner April 29, 2025 06:32
Copy link
Contributor

@mcncl mcncl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this will also cause issues on configure, where an API token will be required and not allow the user to configure with an incorrect one, but an API token should not be needed for certain commands, like bk pipeline validate.

@mcncl mcncl requested a review from a team as a code owner July 7, 2025 03:41
Copy link
Contributor

@PriyaSudip PriyaSudip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes looks good, will wait for Test and Lint to go green.

mcncl added 2 commits July 7, 2025 14:03
Signed-off-by: Ben McNicholl <git@benmcnicholl.com>
Signed-off-by: Ben McNicholl <git@benmcnicholl.com>
@mcncl mcncl changed the title [SUP-2184] Draft - Only write local config in git repo [SUP-2184] Only write local config in git repo Jul 7, 2025
@mcncl mcncl merged commit fd13a3d into main Jul 7, 2025
1 check passed
@mcncl mcncl deleted the SUP-2184-localconfig branch July 7, 2025 21:37
@toolmantim toolmantim mentioned this pull request Jul 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants