Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI failing #3957

Merged
merged 4 commits into from Oct 23, 2023
Merged

Fix CI failing #3957

merged 4 commits into from Oct 23, 2023

Conversation

kiyoon
Copy link
Contributor

@kiyoon kiyoon commented Oct 19, 2023

Description

Fixes #3953

Checklist - did you ...

  • Add an entry in CHANGES.md if necessary?
  • Add / update tests if necessary?
  • Add new / update outdated documentation?

@JelleZijlstra
Copy link
Collaborator

Thanks! Could you add a NEWS entry since this fixes a user-visible issue?

We'll probably cut a hotfix release for this.

@kiyoon
Copy link
Contributor Author

kiyoon commented Oct 19, 2023

By NEWS entry, you mean in CHANGELOG?

@cooperlees
Copy link
Collaborator

I think we need to fix the pre-commit checks elsewhere ourselves if I'm reading them correctly?

CHANGES.md Outdated

### Integrations

- Fix the action failing when Black check doesn't pass (#3957)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should go into the "Unreleased" section above. We'll set this to 23.10.1 when we make the release.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kiyoon
Copy link
Contributor Author

kiyoon commented Oct 19, 2023

You can see that this is running with a failing file here:

https://github.com/kiyoon/blacktest/actions/runs/6578198222

And also the successful run:

https://github.com/kiyoon/blacktest/actions/runs/6578217057

@csalerno-asml
Copy link
Contributor

csalerno-asml commented Oct 20, 2023

Hey, I noticed today the comment in the original PR: #3914 (comment)

My proposal was to add && exit_code=0 || exit_code=$? after out=..., but this is also fine.
Thanks for the PR and sorry for the bug!

@cooperlees cooperlees merged commit 8de4be5 into psf:main Oct 23, 2023
37 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GitHub Action fails
4 participants