This is an automated email from the ASF dual-hosted git repository.
villebro pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/superset-kubernetes-operator.git
The following commit(s) were added to refs/heads/main by this push:
new fce2342 ci: relax PR title scopes (#215)
fce2342 is described below
commit fce2342520313d9ca9068b28aa98aea71ce70fb1
Author: Ville Brofeldt <[email protected]>
AuthorDate: Thu Jul 23 09:51:22 2026 -0700
ci: relax PR title scopes (#215)
---
.github/workflows/pr.yaml | 10 ----------
.github/workflows/release.yml | 4 ++++
AGENTS.md | 4 ++--
docs/contributing/development-guidelines.md | 15 +--------------
4 files changed, 7 insertions(+), 26 deletions(-)
diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml
index 6d7cbd2..b425437 100644
--- a/.github/workflows/pr.yaml
+++ b/.github/workflows/pr.yaml
@@ -44,15 +44,5 @@ jobs:
style
test
requireScope: false
- scopes: |
- api
- controller
- lifecycle
- resolution
- config
- helm
- ci
- docs
- deps
subjectPattern: ^.+$
subjectPatternError: "PR title must have a description after the
type prefix."
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 13e8076..243af48 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -113,6 +113,10 @@ jobs:
VERSION="${GITHUB_REF_NAME#v}"
sed -i "s/^version:.*/version: ${VERSION}/"
charts/superset-operator/Chart.yaml
sed -i "s/^appVersion:.*/appVersion: \"${VERSION}\"/"
charts/superset-operator/Chart.yaml
+ sed -i '/^[[:space:]]*artifacthub.io\/prerelease:/d'
charts/superset-operator/Chart.yaml
+ if [[ "${VERSION}" =~ -rc[0-9]+$ ]]; then
+ sed -i '/artifacthub.io\/license:/a\ artifacthub.io/prerelease:
"true"' charts/superset-operator/Chart.yaml
+ fi
- name: Package Helm chart
run: |
diff --git a/AGENTS.md b/AGENTS.md
index 84bd974..a89dccb 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -161,8 +161,8 @@ The bar: every new "remember to also update X when Y
changes" instruction is a b
## PR Conventions
-- **Title format**: `type(scope): description` or `type: description` —
enforced by CI (`amannn/action-semantic-pull-request`). Scope is optional but
encouraged. Aim for 50 characters when practical, and avoid exceeding 72
characters because GitHub wraps longer titles in common views.
-- **Allowed types and scopes**: defined canonically in
[`.github/workflows/pr.yaml`](.github/workflows/pr.yaml) (the `types`/`scopes`
inputs to the semantic-PR action) and enforced by CI — consult that file rather
than copying the lists here, where they would silently go stale. Types follow
the conventional-commit set; scopes name the affected area of the codebase.
+- **Title format**: `type(scope): description` or `type: description` —
enforced by CI (`amannn/action-semantic-pull-request`). Scope is optional but
encouraged; any scope is accepted, but short repository-area scopes are
preferred. Aim for 50 characters when practical, and avoid exceeding 72
characters because GitHub wraps longer titles in common views.
+- **Allowed types**: defined canonically in
[`.github/workflows/pr.yaml`](.github/workflows/pr.yaml) (the `types` input to
the semantic-PR action) and enforced by CI — consult that file rather than
copying the list here, where it would silently go stale. Types follow the
conventional-commit set.
- **Description**: Every PR must have a Summary section with at least one
paragraph explaining what and why. Use the Details section for implementation
notes. PR template pre-fills these sections.
- **Code coverage**: Codecov reports patch coverage and project delta on every
PR (informational, no enforced targets).
diff --git a/docs/contributing/development-guidelines.md
b/docs/contributing/development-guidelines.md
index 206cc90..a73765c 100644
--- a/docs/contributing/development-guidelines.md
+++ b/docs/contributing/development-guidelines.md
@@ -404,7 +404,7 @@ type(scope): description
type: description
```
-Scope is optional but encouraged when the change is scoped to a single area.
Keep titles concise: aim for 50 characters when practical, and avoid exceeding
72 characters because GitHub wraps longer titles in common views.
+Scope is optional but encouraged when the change is scoped to a single area.
Any scope is accepted, but prefer short, recognizable repository areas such as
`api`, `controller`, `helm`, `ci`, `docs`, or `deps`. Keep titles concise: aim
for 50 characters when practical, and avoid exceeding 72 characters because
GitHub wraps longer titles in common views.
CI validates this on every PR via the `PR / Validate PR title` check.
@@ -424,19 +424,6 @@ CI validates this on every PR via the `PR / Validate PR
title` check.
| `style` | Formatting, whitespace, linting |
| `revert` | Reverting a previous commit |
-**Allowed scopes:**
-
-| Scope | Covers |
-|-------|--------|
-| `api` | CRD type definitions (`api/v1alpha1/`) |
-| `controller` | Reconciler logic (`internal/controller/`) |
-| `resolution` | Spec resolution/merge engine (`internal/resolution/`) |
-| `config` | Config rendering (`internal/config/`) |
-| `helm` | Helm chart (`charts/`) |
-| `ci` | CI workflows, tooling (`.github/`, `Makefile`) |
-| `docs` | Documentation (`docs/`) |
-| `deps` | Dependency updates |
-
**Examples:**
```text