Skip to content

Conversation

@Aaditya-111
Copy link

Implements automated issue labeling system for all 28 Sub-Graph Modules in the CNCF Landscape Graph project


Features Implemented:-

  • Automatic detection when issues are created or modified
  • Users can manually apply labels via comments
  • Covers all SGM modules across multiple categories
  • Smart detection script scans the db/ directory
  • Comprehensive guides for users and maintainers

Files Added:-

  • .github/workflows/auto-label-onopen.yml - Auto-labeling workflow
  • .github/workflows/add-labels.yml - Manual labeling workflow
  • .github/workflows/generate-labels.yml - Label generation workflow
  • .github/scripts/generate_component_labels.py - Detection script
  • .github/LABEL_AUTOMATION.md - Documentation
  • .github/component_labels.txt - Label mappings

How It Works:-

  1. User opens/edits an issue
  2. Workflow scans issue body for file paths (e.g., db/apps/, db/cypher/)
  3. Matches paths to labels (e.g., sgm:apps, sgm:cypher)
  4. Automatically applies all matching labels
  5. Users can also manually add labels with /label sgm:module commands

Notes

  • Some labels (like sgm:apps, sgm:cypher) may need to be created first
  • Happy to adjust label format based on maintainer preferences
  • This is my first open source contribution - feedback welcome!

Acknowledgments:-

Based on the excellent implementation from OpenTelemetry collector-contrib.


Features:
 - Auto-labelling on issue open/edit
 - Manual /label commands
 - 28 Sub-Graph Module support
 - Python component detection
 - Full documentation
Signed-off-by: Aaditya-111 <aaditya012005@gmail.com>
@Aaditya-111 Aaditya-111 force-pushed the feature/auto-label-issues branch from c3d0aba to 4c2d198 Compare December 21, 2025 12:52
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.

1 participant