We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9ad2e18 + af3d682 commit 3a6eb28Copy full SHA for 3a6eb28
1 file changed
.github/workflows/release.yml
@@ -55,6 +55,7 @@ jobs:
55
echo "underline=${underline}" >> "$GITHUB_OUTPUT"
56
57
- name: Update changelog
58
+ id: update_changelog
59
uses: jacobtomlinson/gha-find-replace@v3
60
with:
61
find: "Next\n----"
@@ -63,6 +64,12 @@ jobs:
63
64
include: CHANGELOG.rst
65
regex: false
66
67
+ - name: Check Update changelog was modified
68
+ run: |
69
+ if [ "${{ steps.update_changelog.outputs.modifiedFiles }}" = "0" ]; then
70
+ echo "Error: No files were modified when updating changelog"
71
+ exit 1
72
+ fi
73
- uses: stefanzweifel/git-auto-commit-action@v7
74
id: commit
75
0 commit comments