Conversation
Summary of ChangesHello @cgwalters, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request aims to standardize and automate the management of GitHub labels across the organization's repositories. By introducing a central Highlights
Ignored Files
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request adds a labels.toml file to define a standard set of labels for repositories. The TOML file format is a good choice for this configuration. My review includes a suggestion to make the label definitions more robust by including color and description, which will improve consistency across repositories. Additionally, please note that while the title and description mention a sync-labels workflow, this file is missing from the pull request. It should be included for this feature to be complete.
5de1e4b to
c437726
Compare
Add labels.toml to define standard labels that should exist across all repositories in the organization. Add sync-labels workflow that ensures these labels are created in all active repositories when labels.toml is updated. The workflow uses the app token to access all org repositories and creates any missing labels or updates existing labels if their color or description has changed. Uses TOML format with Python's tomllib for clean parsing. Python writes directly to GITHUB_OUTPUT. Uses fromJSON() for secure interpolation of the labels array in the github-script action. Runs on pushes to main or can be triggered manually with test mode. Labels are defined with name, color, and description properties for better control and documentation across all repositories. Assisted-by: Claude Code (Sonnet 4.5) Signed-off-by: Colin Walters <walters@verbum.org>
c437726 to
686b723
Compare
Add labels.toml to define standard labels that should exist across all repositories in the organization. Add sync-labels workflow that ensures these labels are created in all active repositories when labels.toml is updated.
The workflow uses the app token to access all org repositories and creates any missing labels. Uses TOML format with Python's tomllib for clean parsing with native comment support. Python writes directly to GITHUB_OUTPUT instead of piping through bash. Uses fromJSON() for secure interpolation of the labels array in the github-script action. Runs on pushes to main or can be triggered manually with test mode.
Assisted-by: Claude Code (Sonnet 4.5)