Skip to content

Commit 0e757c4

Browse files
committed
Error in release process if trying to commit changes and there are none
1 parent fb352fb commit 0e757c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ jobs:
6262
with:
6363
commit_message: Bump CHANGELOG
6464
file_pattern: CHANGELOG.rst
65+
# Error if there are no changes.
66+
skip_dirty_check: true
6567

6668
- name: Bump version and push tag
6769
id: tag_version

0 commit comments

Comments
 (0)