Skip to content

Commit

Permalink
[BUGFIX] Fix wrong URL resolution at octokit/grapql queries in Github…
Browse files Browse the repository at this point in the history
… Enterprise (#54)

* [BUGFIX] Fix wrong URL resolution at octokit/grapql queries in G.Enterprise

* [TASK] Ignore IDE related files & folders

Co-authored-by: Simon Gilli <25326036+gilbertsoft@users.noreply.github.com>
  • Loading branch information
veysiertekin and gilbertsoft committed Mar 6, 2022
1 parent 8014eb2 commit 26057aa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,6 @@ Thumbs.db
# Ignore built ts files
__tests__/runner/*
lib/**/*

# Ignore IDE related files and folders
.idea
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5999,6 +5999,7 @@ function getCommitMessagesFromPullRequest(accessToken, repositoryOwner, reposito
}
`;
const variables = {
baseUrl: process.env['GITHUB_API_URL'] || 'https://api.github.com',
repositoryOwner: repositoryOwner,
repositoryName: repositoryName,
pullRequestNumber: pullRequestNumber,
Expand Down
1 change: 1 addition & 0 deletions src/input-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ async function getCommitMessagesFromPullRequest(
}
`
const variables = {
baseUrl: process.env['GITHUB_API_URL'] || 'https://api.github.com',
repositoryOwner: repositoryOwner,
repositoryName: repositoryName,
pullRequestNumber: pullRequestNumber,
Expand Down

0 comments on commit 26057aa

Please sign in to comment.