1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-03-08 13:19:05 +00:00

Update changelog-pr.yml

This commit is contained in:
CanbiZ 2025-02-21 10:42:01 +01:00 committed by GitHub
parent 209aa220b0
commit 16b8bbfca6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,8 +86,8 @@ jobs:
}); });
if (!pulls || pulls.length === 0) { if (!pulls || pulls.length === 0) {
console.log("⚠️ No merged PRs found. Generating empty changelog."); console.log("⚠️ Keine gemergten PRs gefunden. Erzeuge leeres Changelog.");
core.setOutput("result", JSON.stringify([])); core.setOutput("result", "[]");
return; return;
} }
@ -139,13 +139,12 @@ jobs:
} }
if (addedByTemplate) { if (addedByTemplate) {
console.log(`PR #${pr.number} categorized via PR template selection.`); console.log(`PR #${pr.number} wurde durch PR-Template-Kategorie hinzugefügt.`);
} }
}); });
core.setOutput("result", JSON.stringify(categorizedPRs.length ? categorizedPRs : [])); core.setOutput("result", JSON.stringify(categorizedPRs.length ? categorizedPRs : []));
- name: Update CHANGELOG.md - name: Update CHANGELOG.md
uses: actions/github-script@v7 uses: actions/github-script@v7
with: with: