Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

consume new @actions/github for GHES support#236

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ericsciple merged 1 commit intomasterfromusers/ericsciple/m261ghes
May 7, 2020

Conversation

ericsciple
Copy link
Contributor

@ericscipleericsciple commentedMay 7, 2020
edited
Loading

Let the toolkit set the baseUrl (GHES vs Dotcom) when constructing the Octokit REST client

@@ -75,8 +74,8 @@ async function downloadArchive(
ref: string,
commit: string
): Promise<Buffer> {
const octokit = new github.GitHub(authToken, {baseUrl: urlHelper.getApiUrl()})
const params: ReposGetArchiveLinkParams = {
const octokit = new github.GitHub(authToken)
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Let the toolkit set thebaseUrl

@ericscipleericsciple requested a review fromthboopMay 7, 2020 15:12
import {default as uuid} from 'uuid/v4'
import {ReposGetArchiveLinkParams} from '@octokit/rest'
import {Octokit} from '@octokit/rest'
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

wasnt able to import directly anymore (compat break)

Copy link
Contributor

@thboopthboop left a comment

Choose a reason for hiding this comment

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

LGTM

@ericscipleericsciple merged commitac45559 intomasterMay 7, 2020
@ericscipleericsciple deleted the users/ericsciple/m261ghes branchMay 7, 2020 16:11
This was referencedMar 6, 2021
This was referencedMar 14, 2021
This was referencedMar 16, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@thboopthboopthboop approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@ericsciple@thboop

[8]ページ先頭

©2009-2025 Movatter.jp