mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 15:40:44 +00:00
ci: enforce changelog attribution policy in pr gates
This commit is contained in:
@@ -155,6 +155,10 @@ if (updated !== original) {
|
||||
EOF_NODE
|
||||
}
|
||||
|
||||
validate_changelog_attribution_policy() {
|
||||
node scripts/check-changelog-attributions.mjs CHANGELOG.md
|
||||
}
|
||||
|
||||
validate_changelog_entry_for_pr() {
|
||||
local pr="$1"
|
||||
local contrib="$2"
|
||||
|
||||
@@ -60,6 +60,7 @@ prepare_gates() {
|
||||
|
||||
if [ "$has_changelog_update" = "true" ]; then
|
||||
normalize_pr_changelog_entries "$pr"
|
||||
validate_changelog_attribution_policy
|
||||
fi
|
||||
|
||||
if [ "$changelog_required" = "true" ]; then
|
||||
|
||||
Reference in New Issue
Block a user