From 6902df32bfc274e9e32929bec657e1357fadd793 Mon Sep 17 00:00:00 2001 From: Francesco Zanetta Date: Sat, 6 Jun 2026 23:09:46 +0200 Subject: [PATCH] ci: consolidate release-note labels onto GitHub defaults (bug/enhancement/documentation) --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- .github/labeler.yml | 2 +- .github/release.yml | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 79dc1e0..302ccf0 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -7,4 +7,4 @@ - [ ] Tests pass across all backends — `uv sync --all-extras --dev` then `uv run pytest tests/` (exercises every installed backend: numpy, numba, jax, torch) - [ ] New/changed numerics touch both the array-API and numba paths where applicable - [ ] Docs / docstrings updated if public behavior changed -- [ ] A release-note label is applied (`breaking`, `feature`, `fix`, `backend`, `docs`, or `ci`) +- [ ] A release-note label is applied (`breaking`, `enhancement`, `bug`, `backend`, `documentation`, or `ci`) diff --git a/.github/labeler.yml b/.github/labeler.yml index 03994b2..f0b243e 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -4,7 +4,7 @@ core: - "scoringrules/_*.py" - "scoringrules/core/**" -docs: +documentation: - changed-files: - any-glob-to-any-file: - "docs/**" diff --git a/.github/release.yml b/.github/release.yml index 1fe9176..20daf91 100644 --- a/.github/release.yml +++ b/.github/release.yml @@ -5,11 +5,9 @@ changelog: - breaking - title: New features labels: - - feature - enhancement - title: Bug fixes labels: - - fix - bug - title: Backend-specific labels: @@ -18,7 +16,7 @@ changelog: - "backend:torch" - title: Documentation labels: - - docs + - documentation - title: CI / tooling labels: - ci