Skip to content

Commit bd9b57f

Browse files
authored
Update docathon-assign.yml
1 parent 623b93d commit bd9b57f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/docathon-assign.yml

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
- name: Install @octokit/core
1717
run: |
1818
npm i @octokit/core @octokit/rest
19+
npm install cross-fetch
1920
- name: Check for "/assigntome" in comment
2021
uses: actions/github-script@v4
2122
env:
@@ -30,6 +31,9 @@ jobs:
3031
const { Octokit } = require("@octokit/rest");
3132
const octokit = new Octokit({
3233
auth: process.env.GITHUB_TOKEN,
34+
request: {
35+
fetch: require('cross-fetch'),
36+
},
3337
});
3438
const { data: issue } = await octokit.issues.get({
3539
owner: context.repo.owner,

0 commit comments

Comments
 (0)