-
Notifications
You must be signed in to change notification settings - Fork 128
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
refactor: singleton octokit
instance for shared throttling state
#640
base: master
Are you sure you want to change the base?
Conversation
BREAKING CHANGE: `@semantic-release/github` is now a native ES Module
e7f4f8f
to
15a127b
Compare
15a127b
to
0893bef
Compare
octokit
instanceoctokit
instance for shared throttling state
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.
i like where this is headed. only comments are calling out most of your todos. am i correct to assume that is most of what remains for this to still be draft, or do you have additional plans?
@@ -199,7 +196,8 @@ test.serial("Update a prerelease", async (t) => { | |||
t.true(fetch.done()); | |||
}); | |||
|
|||
test.serial("Update a release with a custom github url", async (t) => { | |||
// TODO: move to integration tests |
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.
is this a change that you are wanting to include in this PR?
@@ -345,7 +340,8 @@ test("Publish a release with one asset", async (t) => { | |||
t.true(fetch.done()); | |||
}); | |||
|
|||
test("Publish a release with one asset and custom github url", async (t) => { | |||
// TODO: move to integration tests |
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.
is this a change you are wanting to include in this PR?
@@ -655,7 +647,8 @@ test("Publish a draft release with one asset", async (t) => { | |||
t.true(fetch.done()); | |||
}); | |||
|
|||
test("Publish a release when env.GITHUB_URL is set to https://github.com (Default in GitHub Actions, #268)", async (t) => { | |||
// TODO: move to integration test |
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.
is this a change you are wanting to include in this PR?
t.true(fetch.done()); | ||
}); | ||
|
||
// TODO: move to integration test |
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.
is this a change you are wanting to include in this PR?
are we wanting to include this refactor in the ESM change, or follow up with it afterward? i've had no problems in my testing with the current beta that includes the ESM change for our two candidate plugins, so wondering if we promote those candidates or wait for this change to go in |
correct
I planned to give this another go today but I won't have time. I'd say let's go ahead with the ESM change and then do this afterwards. |
No description provided.