ci: update#32
Conversation
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
a46484e to
7b2b2b9
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #32 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 6 6
=========================================
Hits 6 6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This pull request updates CI/CD infrastructure and configuration tooling. The changes primarily focus on standardizing TOML formatting using Taplo, reorganizing configuration files for better readability, and adding comprehensive GitHub automation for labels and releases.
Changes:
- Added Taplo TOML formatter with configuration and pre-commit hook, reformatted all TOML files alphabetically
- Enhanced noxfile.py with PEP 723 script metadata and improved session orchestration using
s.notify() - Added comprehensive GitHub automation: label syncing, auto-labeling workflows, release changelog categories, and CODEOWNERS
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Alphabetically reorganized project metadata and tool configurations; added hatch version file template |
| noxfile.py | Added PEP 723 script metadata and shebang; refactored sessions to use s.notify() for better orchestration |
| .taplo.toml | New TOML formatter configuration with alphabetical key ordering and alignment settings |
| .pre-commit-config.yaml | Updated ruff hook ID to ruff-check; added codespell TOML config support and taplo-format hook |
| .github/workflows/sync-labels.yml | New workflow to synchronize repository labels from configuration file |
| .github/workflows/labeler.yml | New workflow for automatic PR labeling based on files and commit emojis |
| .github/workflows/ci.yml | Updated to use new nox session names and added --no-default-groups flag |
| .github/workflows/cd.yml | Added fetch-depth and persist-credentials settings for secure package building |
| .github/release.yml | Expanded changelog categories for gitmoji-based releases |
| .github/labels.yml | New comprehensive gitmoji label definitions |
| .github/labeler.yml | New configuration for path-based automatic labeling |
| .github/CODEOWNERS | New file requiring maintainer review for .github/ changes |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -1,3 +1,7 @@ | |||
| #!/usr/bin/env -S uv run --script # noqa: EXE001 | |||
| # /// script | |||
| # dependencies = ["nox", "nox_uv"] | |||
There was a problem hiding this comment.
The dependency name should use 'nox-uv' (with hyphen) to match the canonical package name used in pyproject.toml, rather than 'nox_uv' (with underscore). While both forms work due to Python's package name normalization, using the canonical name improves consistency and clarity.
| # dependencies = ["nox", "nox_uv"] | |
| # dependencies = ["nox", "nox-uv"] |
| - "💥 boom" | ||
| - title: ✨ New Features | ||
| labels: | ||
| - "✨ sparkles" | ||
| - "🎉 tada" | ||
| - title: 🐛 Bug Fixes | ||
| labels: | ||
| - "🐛 bug" | ||
| - "🚑️ ambulance" | ||
| - "🩹 adhesive-bandage" | ||
| - "🥅 goal-net" | ||
| - "🚨 rotating-light" | ||
| - "✏️ pencil2" | ||
| - title: 🔒️ Security | ||
| labels: | ||
| - "🔒️ lock" | ||
| - "🔐 closed-lock-with-key" | ||
| - "🛂 passport-control" | ||
| - title: ⚡️ Performance | ||
| labels: | ||
| - "⚡️ zap" | ||
| - "🧵 thread" | ||
| - title: 📝 Documentation | ||
| labels: | ||
| - "📝 memo" | ||
| - "💡 bulb" | ||
| - "📄 page-facing-up" | ||
| - title: 🎨♻️ Code Quality & Refactoring | ||
| labels: | ||
| - "🎨 art" | ||
| - "♻️ recycle" | ||
| - "⚰️ coffin" | ||
| - "🔥 fire" | ||
| - "🚚 truck" | ||
| - "🗑️ wastebasket" | ||
| - title: ✅ Testing | ||
| labels: | ||
| - "✅ white-check-mark" | ||
| - "🧪 test-tube" | ||
| - "📸 camera-flash" | ||
| - "🤡 clown-face" | ||
| - title: 🔧 Configuration & Dependencies | ||
| labels: | ||
| - "🔧 wrench" | ||
| - "⬆️ arrow-up" | ||
| - "⬇️ arrow-down" | ||
| - "📌 pushpin" | ||
| - "➕ heavy-plus-sign" | ||
| - "➖ heavy-minus-sign" | ||
| - "🚩 triangular-flag-on-post" | ||
| - title: 🏗️ Architecture & Infrastructure | ||
| labels: | ||
| - "🏗️ building-construction" | ||
| - "🧱 bricks" | ||
| - "👷 construction-worker" | ||
| - "💚 green-heart" | ||
| - "📦️ package" | ||
| - "🍱 bento" | ||
| - title: 🚀 Deployment & Releases | ||
| labels: | ||
| - "🚀 rocket" | ||
| - "🔖 bookmark" | ||
| - title: 🎨 UI & Styling | ||
| labels: | ||
| - "💄 lipstick" | ||
| - "💫 dizzy" | ||
| - "📱 iphone" | ||
| - title: ♿️ Accessibility & UX | ||
| labels: | ||
| - "♿️ wheelchair" | ||
| - "🚸 children-crossing" | ||
| - "✈️ airplane" | ||
| - title: 🌐 Internationalization | ||
| labels: | ||
| - "🌐 globe-with-meridians" | ||
| - "💬 speech-balloon" | ||
| - title: 🗃️ Data & Database | ||
| labels: | ||
| - "🗃️ card-file-box" | ||
| - "🌱 seedling" | ||
| - title: 🔊 Logging & Monitoring | ||
| labels: | ||
| - "🔊 loud-sound" | ||
| - "🔇 mute" | ||
| - "🩺 stethoscope" | ||
| - "🔍️ mag" | ||
| - "📈 chart-with-upwards-trend" | ||
| - title: 🏷️ Types & Validation | ||
| labels: | ||
| - "🏷️ label" | ||
| - "🦺 safety-vest" | ||
| - title: 👔 Business Logic & Sponsorship | ||
| labels: | ||
| - "👔 necktie" | ||
| - "💸 money-with-wings" | ||
| - title: 🔨 Development Experience | ||
| labels: | ||
| - "🔨 hammer" | ||
| - "🧑💻 technologist" | ||
| - "🙈 see-no-evil" | ||
| - "🔀 twisted-rightwards-arrows" | ||
| - "⏪️ rewind" | ||
| - title: 👽️🦖 External & Backwards Compatibility Changes | ||
| labels: | ||
| - "👽️ alien" | ||
| - "🦖 t-rex" | ||
| - title: 🚧 Work in Progress & Experiments | ||
| labels: | ||
| - "🚧 construction" | ||
| - "⚗️ alembic" | ||
| - "🧐 monocle-face" | ||
| - title: 🍻 Miscellaneous | ||
| labels: | ||
| - "🍻 beers" | ||
| - "💩 poop" | ||
| - "🥚 egg" | ||
| - "👥 busts-in-silhouette" |
There was a problem hiding this comment.
All label references in this file use short emoji names (e.g., "💥 boom", "✨ sparkles", "🐛 bug") but the actual label names defined in .github/labels.yml use full descriptive names (e.g., "💥 Introduce breaking changes", "✨ Introduce new features", "🐛 Fix a bug").
For the automatic changelog categorization to work correctly, all label references in this configuration must exactly match the label names as defined in .github/labels.yml. Every label reference from line 9 through line 125 needs to be updated to use the full label name instead of the short emoji name.
No description provided.