Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions self-development/kelos-image-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,15 @@ spec:
```
git push --force origin <existing-branch>
```
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 <pr-number> \
--title "Update <agent-name> image to <latest-version>" \
--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
Expand All @@ -145,7 +148,7 @@ spec:
gh pr create \
--title "Update <agent-name> image to <latest-version>" \
--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
Expand Down
Loading