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

fix: resolve fetch is not set error (node20) #11

Merged
merged 2 commits into from
Nov 20, 2023
Merged

Conversation

fty4
Copy link

@fty4 fty4 commented Nov 20, 2023

Updating to node20 to use latest node version for action.

Adding node-fetch to fix error message:

Error: fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing

Implemented as described in octokit documentation

@fty4 fty4 self-assigned this Nov 20, 2023
@fty4 fty4 merged commit ef1d6fc into main Nov 20, 2023
2 of 3 checks passed
@fty4 fty4 deleted the fix/node-20-node-fetch branch November 20, 2023 13:27
@github-actions github-actions bot mentioned this pull request Nov 20, 2023
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.

1 participant