Skip to content

Commit 8de4be5

Browse files
Fix CI failing (#3957)
* Fix CI failing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * docs: update CHANGES.md * docs: fix changelog location to unreleased --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent c0adca3 commit 8de4be5

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@
4646
- The summary output for GitHub workflows is now suppressible using the `summary`
4747
parameter. (#3958)
4848

49+
- Fix the action failing when Black check doesn't pass (#3957)
50+
4951
### Documentation
5052

5153
<!-- Major changes to documentation and policies. Small docs changes

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ runs:
3939
steps:
4040
- name: black
4141
run: |
42+
# Even when black fails, do not close the shell
43+
set +e
44+
4245
if [ "$RUNNER_OS" == "Windows" ]; then
4346
runner="python"
4447
else

0 commit comments

Comments
 (0)