File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change 7878
7979 git push origin "$BRANCH_NAME"
8080
81- gh pr create \
81+ PR_URL=$( gh pr create \
8282 --title "Update llama.cpp submodule to ${{ steps.check.outputs.latest_short }}" \
8383 --body "This PR updates the llama.cpp submodule from \`${{ steps.check.outputs.current_short }}\` to \`${{ steps.check.outputs.latest_short }}\`.
8484
8787 ---
8888 *This PR was automatically created by the update-llama-cpp workflow.*" \
8989 --base main \
90- --head "$BRANCH_NAME"
90+ --head "$BRANCH_NAME")
91+
92+ echo "Created PR: $PR_URL"
9193
92- # Trigger CI workflow on the new branch
9394 gh workflow run "CMake on multiple platforms" --ref "$BRANCH_NAME"
95+ sleep 5
96+
97+ RUN_URL=$(gh run list \
98+ --workflow "CMake on multiple platforms" \
99+ --branch "$BRANCH_NAME" \
100+ --limit 1 \
101+ --json url \
102+ --jq '.[0].url')
103+
104+ if [ -n "$RUN_URL" ]; then
105+ gh pr comment "$PR_URL" --body "🔨 **CI triggered manually:** $RUN_URL
106+ fi
You can’t perform that action at this time.
0 commit comments