We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e45eaff commit f57c785Copy full SHA for f57c785
1 file changed
index.js
@@ -18,7 +18,7 @@ function getGitHubInput () {
18
defaultBranch: core.getInput('default-branch') || undefined,
19
repoUrl: core.getInput('repo-url') || process.env.GITHUB_REPOSITORY,
20
apiUrl: core.getInput('github-api-url') || GITHUB_API_URL,
21
- graphqlUrl: core.getInput('github-graphql-url') || GITHUB_GRAPHQL_URL,
+ graphqlUrl: core.getInput('github-graphql-url').replace(/\/graphql$/, '') || GITHUB_GRAPHQL_URL,
22
token: core.getInput('token', { required: true })
23
}
24
0 commit comments