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>
This commit is contained in:
Kiyoon Kim 2023-10-24 02:37:14 +09:00 committed by GitHub
parent c0adca321d
commit 8de4be5168
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -46,6 +46,8 @@
- The summary output for GitHub workflows is now suppressible using the `summary` - The summary output for GitHub workflows is now suppressible using the `summary`
parameter. (#3958) parameter. (#3958)
- Fix the action failing when Black check doesn't pass (#3957)
### Documentation ### Documentation
<!-- Major changes to documentation and policies. Small docs changes <!-- Major changes to documentation and policies. Small docs changes

View File

@ -39,6 +39,9 @@ runs:
steps: steps:
- name: black - name: black
run: | run: |
# Even when black fails, do not close the shell
set +e
if [ "$RUNNER_OS" == "Windows" ]; then if [ "$RUNNER_OS" == "Windows" ]; then
runner="python" runner="python"
else else