Skip to content

Commit 4c4f8eb

Browse files
Merge pull request #2530 from VWS-Python/skip-dirty
Error in release process if trying to commit changes and there are none
2 parents 87f4d60 + 0e757c4 commit 4c4f8eb

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
@@ -65,6 +65,8 @@ jobs:
6565
with:
6666
commit_message: Bump CHANGELOG
6767
file_pattern: CHANGELOG.rst
68+
# Error if there are no changes.
69+
skip_dirty_check: true
6870

6971
- name: Bump version and push tag
7072
id: tag_version

0 commit comments

Comments
 (0)