Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: suggest to user to add the pizza-action GitHub Action after generating a codeowners file #182

Open
nickytonline opened this issue Sep 12, 2024 · 1 comment
Labels

Comments

@nickytonline
Copy link
Member

nickytonline commented Sep 12, 2024

As a developer of the pizza CLI, I want to notify the user after generating a codeowners file that there is an OpenSauced pizza-action GitHub Action, so that the user can keep their codeowners file up to date in their repository.

@jpmcb
Copy link
Member

jpmcb commented Sep 13, 2024

The current flow is:

❯ pizza generate codeowners .
Finished processing commits for: /Users/jpmcb/workspace/opensauced/pizza-cli
Finished generating file: /Users/jpmcb/workspace/opensauced/pizza-cli/CODEOWNERS

Create an OpenSauced Contributor Insight to get metrics and insights on these codeowners:
$ pizza generate insight /Users/jpmcb/workspace/opensauced/pizza-cli

So, you're thinking something like this?

❯ pizza generate codeowners .
Finished processing commits for: /Users/jpmcb/workspace/opensauced/pizza-cli
Finished generating file: /Users/jpmcb/workspace/opensauced/pizza-cli/CODEOWNERS

Create an OpenSauced Contributor Insight to get metrics and insights on these codeowners:
$ pizza generate insight /Users/jpmcb/workspace/opensauced/pizza-cli

Generate codeowner files automatically in GitHub actions with pizza-action:
https://github.com/open-sauced/pizza-action

I like it.

But it might be abit wordy. And usually, people get pretty annoyed by this sort of thing in CLIs. We'll want to cautious about introducing these suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants