From 0e4e0d83ffff90cef7bfae09cee4eb03aa1623d7 Mon Sep 17 00:00:00 2001 From: SethCohen Date: Wed, 24 Aug 2022 00:40:43 -0400 Subject: [PATCH] fix: fixed `fetch` import --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 8f8cf61..ae95b70 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,6 @@ const core = require('@actions/core'); const github = require('@actions/github'); -const fetch = require('node-fetch') +import fetch from 'node-fetch' async function getContext () { const payload = github.context.payload