-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
add support for gist.github.com #262
base: master
Are you sure you want to change the base?
Conversation
d1cef55
to
9c88fe4
Compare
Looks like gist.github.com doesn't like it if you set
|
NVM, it just doesn't like incorrect credentials. I was trying invalid credentials on a public gist and thought it failed because credentials were present... |
@@ -68,6 +76,10 @@ export function getInputs(): IGitSourceSettings { | |||
result.ref = `refs/heads/${result.ref}` | |||
} | |||
} | |||
|
|||
if (result.isGist && !result.ref && !result.commit) { |
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.
added this back from 00a3be8
let me know if you'd like me to change src/git-source-provider.ts
instead.
I left a
todo
for (future?) GitHub Enterprise Server support because gists could be either ongist.
or/gist
depending on subdomain isolation.