-
Notifications
You must be signed in to change notification settings - Fork 188
feat(issue triage): Get all labels of the repository #346
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
Conversation
Use a loop on the paginated API to collect all the labels of the repo, as the current implementation only get 30 of them. We might think about an additional option to use specific patterns to select only some labels Signed-off-by: Nicolas Schweitzer <nicolas.schweitzer@datadoghq.com>
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Signed-off-by: Nicolas Schweitzer <nicolas.schweitzer@datadoghq.com>
jerop
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chouetz thanks for the contribution - please make the same change in .github/workflows so we can dogfood this 🙏🏾
Signed-off-by: Nicolas Schweitzer <nicolas.schweitzer@datadoghq.com>
Signed-off-by: Nicolas Schweitzer <nicolas.schweitzer@datadoghq.com>
jerop
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @chouetz for the contribution!
## What's Changed * feat: support direct wif by @fredrikaverpil in #380 * feat(issue triage): Get all labels of the repository by @chouetz in #346 * Prompt engineering for `gemini-scheduled-triage.toml`. by @joshualitt in #356 * Sync `/examples` with `.github/` - refactor examples to also use custom commands in prompts by @jerop in #386 * chore: add support to use pnpm instead of npm for install by @dcreey in #385 * feat(telemetry): set GHA_NAME dynamically from workflow by @MJjainam in #390 ## New Contributors * @fredrikaverpil made their first contribution in #380 * @chouetz made their first contribution in #346 * @dcreey made their first contribution in #385 * @MJjainam made their first contribution in #390 **Full Changelog**: v0.1.14...v0.1.15
Use a loop on the paginated API to collect all the labels of the repo, as the current implementation only get 30 of them.
I did not modified the current workflows you are using here, but if it makes sense for you I can update the PR.
We might think about an additional option to use specific patterns to select only some labels lately?
Thanks in advance for the review