mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-01 08:33:14 +02:00
Skip automated core pull requests in the changelog (#17589)
Engine pull requests were only filtered by invalid/wontdo/wontfix/duplicate, so every "Generate app headers" run from core landed in the changelog. They now honour the same "automated pr" label as this repository's own bot PRs.
This commit is contained in:
committed by
GitHub
parent
67d3db650e
commit
5734662510
Generated
+1
-1
@@ -249,7 +249,7 @@ jobs:
|
||||
if (new Date(pr.merged_at) <= latestDateInChangelog) continue;
|
||||
|
||||
const rawLabels = pr.labels.map(label => label.name.toLowerCase());
|
||||
if (rawLabels.some(l => ["invalid", "wontdo", "wontfix", "duplicate"].includes(l))) continue;
|
||||
if (rawLabels.some(l => ["invalid", "wontdo", "wontfix", "duplicate", process.env.AUTOMATED_PR_LABEL].includes(l))) continue;
|
||||
|
||||
if (!coreCategory) {
|
||||
console.log(`No Core category configured; skipping core#${pr.number}`);
|
||||
|
||||
Reference in New Issue
Block a user