-
Notifications
You must be signed in to change notification settings - Fork 922
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(probot): passes logger to webhooks #2010
Conversation
.github/workflows/test.yml
Outdated
with: | ||
node-version: ${{ matrix.node-version }} | ||
node-version-file: ${{ matrix.node-version }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You aren't passing a file name here, so it should still be node-version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah I know, just messing around
@wolfy1339 any idea why the type errors suddenly occur? https://github.com/probot/probot/actions/runs/8902784149/job/24449370174?pr=2010 I see them locally as well, I'd expect given that it installs from the lock file, there should be unrelated errors
|
It seems there's a version mismatch between the version of As for the rest, I have to look deeper |
It seems these build failures have been happening for a while. I think #1917 has some patches that resolves some of these issues, but it was never merged |
Okay, I'll have a quick look, but this might not be worth the hassle then :( |
I'll check out #1917, maybe I can figure out the remaining failing test and get it merged after all |
e1f099e
to
3a23691
Compare
3a23691
to
d66056c
Compare
once merged, I'll apply the fix to master as well. Should have started there, but ran into it in a project that still uses v12 |
🎉 This PR is included in version 12.3.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
* test(probot): passes logger to webhooks * fix(probot): passes logger to webhooks
Current behavior:
With this pull request,
myCustomLog
will be passed to webhooks and the warning will be logged using the passed logger instead of nativeconsole