Skip to content
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

Set GITHUB_API_URL to value of --github-api-url flag #9

Closed
wants to merge 2 commits into from

Conversation

aibaars
Copy link
Contributor

@aibaars aibaars commented Oct 25, 2022

This PR set the environment variable GITHUB_API_URL to the value specified in the --github-api-url flag. It has to be set before the @actions/github Octokit client used by the@github/dependency-submission-toolkit reads it. Therefore, this PR also moves two import statements further down in the code.

This PR depends on #10 which updates @github/dependency-submission-toolkit to make things work out-of-the box for GitHub Enterprise.

@peter-murray

@aibaars aibaars force-pushed the patch-1 branch 2 times, most recently from 81a2bdd to 89b023f Compare October 25, 2022 15:07
@aibaars aibaars marked this pull request as ready for review October 26, 2022 10:45
@peter-murray
Copy link
Contributor

Updated to a newer version of the toolkit in the multi module support. Available as v3 of the action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants