Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions .github/workflows/validate-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,27 +26,6 @@ jobs:
echo "skip=false" >> $GITHUB_OUTPUT
fi

- name: Check for CHANGES.txt edits
if: steps.check-label.outputs.skip == 'false'
run: |
# Get the list of changed files
CHANGED_FILES=$(git diff --name-only origin/${{ github.base_ref }}...HEAD)

if echo "$CHANGED_FILES" | grep -q "^solr/CHANGES\.txt$"; then
echo "::error::Use of solr/CHANGES.txt is deprecated. Please create a changelog yaml file instead."
echo ""
echo "Instead of editing CHANGES.txt, please:"
echo "1. Run: ./gradlew writeChangelog"
echo "2. Edit the generated YAML file in changelog/unreleased/"
echo "3. Commit both the code change and the YAML file"
echo ""
echo "For more information, see: dev-docs/changelog.adoc"
echo ""
echo "If this PR should not have a changelog entry (e.g., documentation-only changes),"
echo "add the 'no-changelog' label to this PR."
exit 1
fi

- name: Check for changelog entry
if: steps.check-label.outputs.skip == 'false'
run: |
Expand Down