Skip to content

Commit 72bcbd2

Browse files
stubbiclaude
andauthored
ci: do not overwrite catalog ci.yaml on each OperatorHub submission (#62)
Re-writing `operators/hermes-operator/ci.yaml` on every release is a privileged change that withholds the `authorized-changes` label, so every version PR waits for a maintainer instead of auto-merging. Now we only seed ci.yaml when the catalog has none; once reviewers are established there, version PRs stay clean and auto-merge. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 8228761 commit 72bcbd2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/operatorhub-submit.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,10 @@ jobs:
8787
8888
mkdir -p operators/hermes-operator
8989
cp -r ../submission/operators/hermes-operator/${VERSION} operators/hermes-operator/${VERSION}
90-
cp -f ../submission/operators/hermes-operator/ci.yaml operators/hermes-operator/ci.yaml 2>/dev/null || true
90+
# Only seed ci.yaml when the catalog does not already have one. Overwriting
91+
# it on every release is a privileged change that withholds the
92+
# authorized-changes label and blocks auto-merge.
93+
[ -f operators/hermes-operator/ci.yaml ] || cp ../submission/operators/hermes-operator/ci.yaml operators/hermes-operator/ci.yaml 2>/dev/null || true
9194
9295
git add "operators/hermes-operator"
9396
git commit -m "operator hermes-operator (${VERSION})"

0 commit comments

Comments
 (0)