Skip to content

Commit b3f8460

Browse files
compwronclaude
andauthored
ci: align PR labeler with active label set (#6915)
- Add rules for `pundit` and `db` (existed as labels but had no rule) - Retarget Tests rule at the renamed `🧪 Tests` label - Companion to the GitHub label cleanup (rename, recolor, archive stale) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c1456eb commit b3f8460

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

.github/labeler.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,18 @@ javascript:
2222
- changed-files:
2323
- any-glob-to-any-file: ["**/*.js", "package*.json", "package-lock.json"]
2424

25-
Tests! 🎉💖👏:
25+
🧪 Tests:
2626
- changed-files:
2727
- any-glob-to-any-file: ["app/javascript/__tests__/**.test.js", "spec/**/*_spec.rb"]
2828

2929
dependencies:
3030
- changed-files:
3131
- any-glob-to-any-file: ["Gemfile*", "package*.json", "package-lock.json"]
32+
33+
pundit:
34+
- changed-files:
35+
- any-glob-to-any-file: "app/policies/**/*.rb"
36+
37+
db:
38+
- changed-files:
39+
- any-glob-to-any-file: "db/**/*"

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@ gem "stimulus-rails" # Stimulus JavaScript framework
5757
gem "strong_migrations" # Catch unsafe database migrations
5858
gem "turbo-rails", "~> 2.0" # Turbo framework for Rails
5959
gem "twilio-ruby" # Twilio helper functions
60-
gem "tzinfo-data", platforms: %i[mingw mswin x64_mingw jruby] # Windows does not include zoneinfo files
60+
gem "tzinfo-data", platforms: %i[windows jruby] # Windows does not include zoneinfo files
6161
gem "view_component" # View components for reusability
6262
gem "wicked" # Multi-step form wizard for Rails
6363

6464
group :development, :test, :production do
6565
gem "brakeman" # Security inspection
6666
gem "prosopite" # N+1 query detection via SQL pattern analysis
67-
gem "byebug", platforms: %i[mri mingw x64_mingw] # Debugger console
67+
gem "byebug", platforms: %i[mri windows] # Debugger console
6868
gem "dotenv-rails" # Environment variable management
6969
gem "erb_lint", require: false # ERB linter
7070
gem "factory_bot_rails" # Test data factories

0 commit comments

Comments
 (0)