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

See *who* added a label #8994

Open
RedYetiDev opened this issue Apr 24, 2024 · 3 comments
Open

See *who* added a label #8994

RedYetiDev opened this issue Apr 24, 2024 · 3 comments
Labels
enhancement a request to improve CLI gh-pr relating to the gh pr command needs-user-input platform Problems with the GitHub platform rather than the CLI client

Comments

@RedYetiDev
Copy link

Describe the feature or problem you’d like to solve

The --json label return mode of gh pr view should also include an added_by field, to show who added a given label

Proposed solution

This will benefit security, as workflows can be controlled via who had permission to add a given label

@RedYetiDev RedYetiDev added the enhancement a request to improve CLI label Apr 24, 2024
@cliAutomation cliAutomation added the needs-triage needs to be reviewed label Apr 24, 2024
@williammartin
Copy link
Member

Hey, thanks for the feature request.

Does this actually exist in the API? I don't see it for the Label object: https://docs.github.com/en/graphql/reference/objects#label

@williammartin williammartin added needs-user-input gh-pr relating to the gh pr command and removed needs-triage needs to be reviewed labels Apr 25, 2024
@RedYetiDev
Copy link
Author

It doesn't exist in the API, but I'd love to see it as a feature for both the API and the CLI

@williammartin williammartin added the platform Problems with the GitHub platform rather than the CLI client label Apr 25, 2024
@williammartin
Copy link
Member

I can pass your request on to the team that owns the API (without it we can't do anything in the CLI) but perhaps you could describe your use case a little more to help motivate the idea. I don't really understand what you want to do with this new field in workflows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement a request to improve CLI gh-pr relating to the gh pr command needs-user-input platform Problems with the GitHub platform rather than the CLI client
Projects
None yet
Development

No branches or pull requests

4 participants
@williammartin @RedYetiDev @cliAutomation and others