File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change 2626 echo "skip=false" >> $GITHUB_OUTPUT
2727 fi
2828
29- - name : Check for CHANGES.txt edits
30- if : steps.check-label.outputs.skip == 'false'
31- run : |
32- # Get the list of changed files
33- CHANGED_FILES=$(git diff --name-only origin/${{ github.base_ref }}...HEAD)
34-
35- if echo "$CHANGED_FILES" | grep -q "^solr/CHANGES\.txt$"; then
36- echo "::error::Use of solr/CHANGES.txt is deprecated. Please create a changelog yaml file instead."
37- echo ""
38- echo "Instead of editing CHANGES.txt, please:"
39- echo "1. Run: ./gradlew writeChangelog"
40- echo "2. Edit the generated YAML file in changelog/unreleased/"
41- echo "3. Commit both the code change and the YAML file"
42- echo ""
43- echo "For more information, see: dev-docs/changelog.adoc"
44- echo ""
45- echo "If this PR should not have a changelog entry (e.g., documentation-only changes),"
46- echo "add the 'no-changelog' label to this PR."
47- exit 1
48- fi
49-
5029 - name : Check for changelog entry
5130 if : steps.check-label.outputs.skip == 'false'
5231 run : |
You can’t perform that action at this time.
0 commit comments