Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions .github/prompts/spec-impact.prompt.yml
Review prompt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ messages:
- [ ] Swift

Keep it concise — this is a PR comment, not a document.

Do NOT wrap your response in a code fence or markdown block.
Output raw markdown directly — your response will be posted as-is
as a GitHub PR comment.
model: openai/gpt-4o
modelParameters:
maxCompletionTokens: 800
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/ai-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,12 @@ jobs:
RESPONSE_FILE: ${{ steps.analyze.outputs.response-file }}
PR: ${{ github.event.pull_request.number }}
run: |
# Strip outer code-fence wrapper if the model adds one (first/last lines only)
sed -E '1{/^``` *(markdown|md)? *$/d;}; ${/^``` *$/d;}' "$RESPONSE_FILE" > /tmp/clean-comment.md
Comment thread
jeremy marked this conversation as resolved.

EXISTING=$(gh pr view "$PR" --json comments --jq '.comments[] | select(.body | startswith("## Spec Change Impact")) | .id' | head -1)
if [ -n "$EXISTING" ]; then
gh api graphql -f query="mutation { updateIssueComment(input: {id: \"$EXISTING\", body: $(jq -Rs . "$RESPONSE_FILE")}) { issueComment { id } } }"
gh api graphql -f query="mutation { updateIssueComment(input: {id: \"$EXISTING\", body: $(jq -Rs . "/tmp/clean-comment.md")}) { issueComment { id } } }"
else
gh pr comment "$PR" --body-file "$RESPONSE_FILE"
gh pr comment "$PR" --body-file "/tmp/clean-comment.md"
Comment thread
jeremy marked this conversation as resolved.
fi
5 changes: 2 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,13 @@ jobs:
add go manual
add javascript none
add ruby none
# java-kotlin disabled: CodeQL doesn't support Kotlin 2.3.20 yet (github/codeql#21484)
# add java-kotlin manual
add java-kotlin manual
swift=true
else
if [ "$GO" = "true" ]; then add go manual; fi
if [ "$TS" = "true" ]; then add javascript none; fi
if [ "$RUBY" = "true" ]; then add ruby none; fi
# if [ "$KOTLIN" = "true" ]; then add java-kotlin manual; fi
if [ "$KOTLIN" = "true" ]; then add java-kotlin manual; fi
Comment thread
jeremy marked this conversation as resolved.
Comment thread
jeremy marked this conversation as resolved.
swift=$SWIFT
fi

Expand Down
2 changes: 1 addition & 1 deletion kotlin/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
kotlin = "2.3.20"
kotlin = "2.3.10"
Comment thread
jeremy marked this conversation as resolved.
Comment thread
jeremy marked this conversation as resolved.
ktor = "3.4.1"
kotlinx-serialization = "1.10.0"
kotlinx-coroutines = "1.10.2"
Expand Down
Loading