Skip to content

chore(safe-settings): add refactor, test, ci, dependencies, security labels - #40

Merged
yvonnedevlinrh merged 2 commits into
mainfrom
issue-39-enrich-org-labels
Sep 3, 2026
Merged

chore(safe-settings): add refactor, test, ci, dependencies, security labels#40
yvonnedevlinrh merged 2 commits into
mainfrom
issue-39-enrich-org-labels

Conversation

@yvonnedevlinrh

Copy link
Copy Markdown
Contributor

Summary

Enriches the org-wide label set in safe-settings/settings.yml with 5 labels for code PR categorization. Purely additive — no existing labels are removed or recolored.

Closes #39

Labels added

Label Color Description
refactor fbca04 Code restructuring with no behavior change
test 0e8a16 Test additions, changes, or coverage work
ci 5319e7 CI/CD, GitHub Actions, or release-pipeline changes
dependencies 0366d6 Dependency updates or dependency management
security b60205 Security-related work, fixes, or hardening

maintenance was considered and dropped. Analysis of 50 merged gaze PRs showed chore-prefix PRs span refactoring, tests, CI updates, and one-off cleanup with no coherent grouping — a maintenance label would be a renamed catch-all with no release-note signal improvement.

Motivation

Category grouping in the gaze github-native changelog (unbound-force/gaze#249) keys off PR labels. Without these labels, chore/refactor/test/ci PRs collapse into a generic "Other Changes" bucket. These 5 labels unblock finer release-note categories and enable consistent PR triage across all managed repos.

Downstream

Testing

  • make lint — yamllint passes on safe-settings/
  • go test -race ./... — all 6 boundary tests pass
  • After merge: dry-run Safe Settings Sync against a single repo (Actions > Safe Settings Sync > dry-run=true, repos=dewey)
  • Apply to all repos (dry-run=false, repos empty)

@yvonnedevlinrh

Copy link
Copy Markdown
Contributor Author

The three CI failures here are pre-existing main issues, not caused by this PR

This PR only changes safe-settings/settings.yml (and adds a triage artifact) — it touches no workflow files. All three red checks originate from broken workflows already on main, and each now has a dedicated fix in flight.

Failing check Root cause Fixed by
Dependency Review Inline actions/dependency-review-action hard-fails: Dependency review is not supported on this repository … Dependency graph … GitHub Advanced Security (not enabled on this repo) #44 (fix: migrate ci_dependencies…)
OSV-Scanner Dead SHA: google/osv-scanner-action@e5012758… → unable to find version #43 (ci: migrate ci_security and ci_scheduled…)
OpenSSF Scorecards Dead SHA: ossf/scorecard-action@05b42c62… → unable to find version #43

The checks that actually exercise this PR's change all pass ✅ — Lint, Test, Apply-peribolos, Verify peribolos.

How to get this PR green

The three failures clear once the workflow fixes land on main:

  1. Merge ci: migrate ci_security and ci_scheduled to org-infra reusable workflows #43 first (restores the OSV-Scanner and OpenSSF Scorecards workflows).
  2. Merge fix: migrate ci_dependencies to org-infra reusable workflows #44 next (replaces the hard-failing inline dependency review with the soft-gated org-infra reusable).
  3. Rebase/update this PR (chore(safe-settings): add refactor, test, ci, dependencies, security labels #40) on the new main — or just re-run its checks — and all three will go green.

No changes are needed in this PR to fix the CI; it's an innocent bystander of the broken main workflows. This is the same breakage that motivated issue #41 (→ #44) and the ci_security migration (→ #43).

@jflowers jflowers left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than removing the triage file it looks good to me

Comment thread .uf/artifacts/issue-triage/issue-39.json Outdated

@marcusburghardt marcusburghardt left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Nice. Probably an option to also manage labels in complytime: https://github.com/complytime/.github/blob/main/safe-settings/settings.yml

…labels

Enriches the org-wide label set with 5 labels for code PR categorization.
Enables finer release-note grouping in gaze (github-native changelog).

- refactor (fbca04): code restructuring with no behavior change
- test (0e8a16): test additions, changes, or coverage work
- ci (5319e7): CI/CD, GitHub Actions, or release-pipeline changes
- dependencies (0366d6): dependency updates or dependency management
- security (b60205): security-related work, fixes, or hardening

maintenance label excluded: analysis of 50 merged gaze PRs showed
chore-prefix PRs span multiple categories with no coherent grouping.

Closes #39
@yvonnedevlinrh
yvonnedevlinrh force-pushed the issue-39-enrich-org-labels branch from 4e103f5 to 9c1c55a Compare September 3, 2026 12:47

@jflowers jflowers left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@yvonnedevlinrh
yvonnedevlinrh merged commit 9418d63 into main Sep 3, 2026
11 checks passed
@yvonnedevlinrh
yvonnedevlinrh deleted the issue-39-enrich-org-labels branch September 3, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Ready for Review 👀

Development

Successfully merging this pull request may close these issues.

chore(safe-settings): enrich org-wide label set for code repos

4 participants