We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba20d77 commit 9b351ffCopy full SHA for 9b351ff
1 file changed
.github/workflows/changelog-verify.yml
@@ -65,8 +65,12 @@ jobs:
65
ALLOW_RELEASE_CLEANUP=false
66
67
if [ -z "$CHANGED_FILES" ]; then
68
- if [ -n "$DELETED_FILES" ] && [ -n "$CHANGELOG_MODIFIED" ]; then
69
- echo "No new or modified changelog.d/ entries found, but CHANGELOG.md changed, so this release cleanup is allowed."
+ if [ -n "$CHANGELOG_MODIFIED" ]; then
+ if [ -n "$DELETED_FILES" ]; then
70
+ echo "Release detected via CHANGELOG.md update; deleted changelog.d/ entries are allowed."
71
+ else
72
+ echo "Release detected via CHANGELOG.md update; no changelog.d/ deletions found in this compare range."
73
+ fi
74
ALLOW_RELEASE_CLEANUP=true
75
else
76
echo "No files changed in changelog.d/ for this ${GITHUB_EVENT_NAME:-event}."
0 commit comments