We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the sample code we get an HttpError: Resource not accessible by integration
We need to get it from app.eachInstallation and pass the id to app.eachRepository.
app.eachInstallation
app.eachRepository
The text was updated successfully, but these errors were encountered:
I see, thank you! you mean this code, right?
for await (const { octokit, repository } of app.eachRepository.iterator()) { await octokit.request("POST /repos/{owner}/{repo}/dispatches", { owner: repository.owner.login, repo: repository.name, event_type: "my_event", }); }
If you'd like to send a pull request that'd be much appreciated.
Sorry, something went wrong.
No branches or pull requests
In the sample code we get an HttpError: Resource not accessible by integration
We need to get it from
app.eachInstallation
and pass the id toapp.eachRepository
.The text was updated successfully, but these errors were encountered: