Skip to content
This repository was archived by the owner on Mar 25, 2026. It is now read-only.

Commit d73799c

Browse files
committed
Remove custom instructions and comment payload from upstream sync issue creation
1 parent 3c57345 commit d73799c

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

.github/workflows/weekly-upstream-sync.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,6 @@ jobs:
105105
106106
Follow the [agentic-merge-upstream](.github/prompts/agentic-merge-upstream.prompt.md) prompt to port these changes to the Java SDK."
107107
108-
# Read custom instructions from external file
109-
CUSTOM_INSTRUCTIONS=$(cat .github/prompts/coding-agent-merge-instructions.md)
110-
111108
# Build the issue JSON payload
112109
ISSUE_PAYLOAD=$(jq -n \
113110
--arg title "Upstream sync: ${COMMIT_COUNT} new commits (${DATE})" \
@@ -129,23 +126,6 @@ jobs:
129126
--jq '.number')
130127
131128
echo "Created issue #${ISSUE_NUMBER}"
132-
133-
# Build the comment JSON payload to trigger Copilot
134-
COMMENT_PAYLOAD=$(jq -n \
135-
--arg instructions "$CUSTOM_INSTRUCTIONS" \
136-
'{
137-
body: ("@copilot\n\n" + $instructions)
138-
}')
139-
140-
# Post the comment to assign Copilot
141-
echo "$COMMENT_PAYLOAD" | \
142-
gh api \
143-
--method POST \
144-
-H "Accept: application/vnd.github+json" \
145-
-H "X-GitHub-Api-Version: 2022-11-28" \
146-
"/repos/${REPO}/issues/${ISSUE_NUMBER}/comments" \
147-
--input -
148-
149129
echo "✅ Issue #${ISSUE_NUMBER} created and assigned to Copilot coding agent."
150130
151131
- name: Summary

0 commit comments

Comments
 (0)