Skip to content

Commit 0b46341

Browse files
vaindclaude
andcommitted
refactor: consolidate skip-changelog flavors into single config
Merge all internal change flavors (docs, style, refactor, test, build, ci, chore, deps) into one configuration entry since they all have the same behavior (skip changelog). This reduces the config from 7 separate entries to 1, making it more maintainable. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 30f76ee commit 0b46341

File tree

1 file changed

+3
-27
lines changed

1 file changed

+3
-27
lines changed

danger/dangerfile-utils.js

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -18,32 +18,8 @@ const FLAVOR_CONFIG = [
1818
changelog: "Performance"
1919
},
2020
{
21-
labels: ["docs", "doc"],
22-
changelog: undefined // Internal documentation changes
23-
},
24-
{
25-
labels: ["style", "refactor"],
26-
changelog: undefined // Internal code improvements - no changelog needed
27-
},
28-
{
29-
labels: ["test"],
30-
changelog: undefined // Test updates don't need changelog
31-
},
32-
{
33-
labels: ["build"],
34-
changelog: undefined // Build system changes
35-
},
36-
{
37-
labels: ["ci"],
38-
changelog: undefined // CI changes don't need changelog
39-
},
40-
{
41-
labels: ["chore"],
42-
changelog: undefined // General maintenance
43-
},
44-
{
45-
labels: ["deps", "dep", "chore(deps)", "build(deps)"],
46-
changelog: undefined // Dependency updates
21+
labels: ["docs", "doc", "style", "refactor", "test", "build", "ci", "chore", "deps", "dep", "chore(deps)", "build(deps)"],
22+
changelog: undefined // Internal changes - no changelog needed
4723
}
4824
];
4925

@@ -168,4 +144,4 @@ module.exports = {
168144
getFlavorConfig,
169145
findChangelogInsertionPoint,
170146
extractPRFlavor
171-
};
147+
};

0 commit comments

Comments
 (0)