From be5a5e488cb51da6758971c0b8f22b0af731de1d Mon Sep 17 00:00:00 2001 From: Gunju Kim Date: Sat, 23 May 2026 11:36:06 +0000 Subject: [PATCH] self-development: label kelos-image-update PRs with agent/kelos-image-update Apply a dedicated `agent/kelos-image-update` label on both the create and edit paths so image-update PRs can be filtered apart from other `generated-by-kelos` PRs (workers, config-update, etc.). --- self-development/kelos-image-update.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/self-development/kelos-image-update.yaml b/self-development/kelos-image-update.yaml index efc568e26..2958f3f31 100644 --- a/self-development/kelos-image-update.yaml +++ b/self-development/kelos-image-update.yaml @@ -113,12 +113,15 @@ spec: ``` git push --force origin ``` - v. Update the existing PR title and body: + v. Update the existing PR title and body, and ensure the + `agent/kelos-image-update` label is applied (older PRs created + before this label existed won't have it): Write the updated body to a temp file first, then: ``` gh pr edit \ --title "Update image to " \ - --body-file /tmp/pr-body.md + --body-file /tmp/pr-body.md \ + --add-label agent/kelos-image-update ``` The PR body (`/tmp/pr-body.md`) MUST follow `.github/PULL_REQUEST_TEMPLATE.md`: - Start with `/kind feature` on its own line @@ -145,7 +148,7 @@ spec: gh pr create \ --title "Update image to " \ --body-file /tmp/pr-body.md \ - --label generated-by-kelos --label ok-to-test --label kind/feature + --label generated-by-kelos --label ok-to-test --label kind/feature --label agent/kelos-image-update ``` The PR body (`/tmp/pr-body.md`) MUST follow `.github/PULL_REQUEST_TEMPLATE.md`: - Start with `/kind feature` on its own line