Skip to content

Commit f7f04a7

Browse files
committed
Simplify PR description, rely on commit messages for details
1 parent a776555 commit f7f04a7

File tree

1 file changed

+6
-25
lines changed

1 file changed

+6
-25
lines changed

.github/workflows/create-deploy-pr.yml

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -237,38 +237,19 @@ jobs:
237237
WS_COMMIT=$(jq -r '.helmCharts["wire-server"].meta.commit // "N/A"' new_build.json)
238238
WS_COMMIT_URL=$(jq -r '.helmCharts["wire-server"].meta.commitURL // ""' new_build.json)
239239
240-
# Build PR body
240+
# Build PR body (simplified since it won't auto-update)
241241
{
242-
echo "## Wire Server"
242+
echo "## Wire Server Version"
243243
echo "- Version: \`$WS_VERSION\`"
244244
if [ -n "$WS_COMMIT_URL" ] && [ "$WS_COMMIT_URL" != "null" ]; then
245245
echo "- Commit: [\`${WS_COMMIT:0:7}\`]($WS_COMMIT_URL)"
246246
fi
247-
echo ""
248-
249-
echo "## Changed Charts"
250-
# Find and display changed charts (only if old version exists and differs)
251-
CHANGED_CHARTS=$(jq -r --slurpfile old old_build.json '
252-
.helmCharts | to_entries[] |
253-
select(
254-
$old[0].helmCharts[.key] != null and (
255-
($old[0].helmCharts[.key].version // "") != .value.version or
256-
($old[0].helmCharts[.key].meta.commit // "") != .value.meta.commit
257-
)
258-
) |
259-
"**" + .key + "**: `" + $old[0].helmCharts[.key].version + "` → `" + .value.version + "`" +
260-
(if .value.meta.commitURL then " ([`" + (.value.meta.commit[:7]) + "`](" + .value.meta.commitURL + "))" else "" end)
261-
' new_build.json)
262-
263-
if [ -n "$CHANGED_CHARTS" ]; then
264-
echo "$CHANGED_CHARTS"
265-
else
266-
echo "_No chart version changes detected_"
267-
fi
268-
269247
echo ""
270248
echo "---"
271-
echo "**Builds:** [\`${OLD_SHA:0:7}\`]($CURRENT_URL) → [\`${NEW_SHA:0:7}\`]($NEW_URL)"
249+
echo ""
250+
echo "**Note:** This PR updates the wire-builds reference in \`offline/tasks/proc_pull_charts.sh\`."
251+
echo ""
252+
echo "**See commit messages for detailed chart changes** - PR description cannot be auto-updated due to token permissions."
272253
echo ""
273254
echo "<sub>🤖 Auto-generated by [wire-builds](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})</sub>"
274255
} > pr-body.txt

0 commit comments

Comments
 (0)