Skip to content

Commit 7f68c39

Browse files
committed
chore: test
1 parent 238f17e commit 7f68c39

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

packages/close-release-issue/dist/index.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20105,7 +20105,7 @@ var GithubHelper = class {
2010520105
return data;
2010620106
}
2010720107
async getIssueList(params) {
20108-
const { data } = await this.octokit.rest.issues.list({
20108+
const { data } = await this.octokit.rest.issues.listForRepo({
2010920109
...params,
2011020110
owner: this.context.owner,
2011120111
repo: this.context.repo
@@ -20178,7 +20178,6 @@ async function main() {
2017820178
import_core.info(`repo: ${repo}`);
2017920179
import_core.info(`owner: ${owner}`);
2018020180
import_core.endGroup();
20181-
2018220181
const issues = await new GithubHelper({
2018320182
owner,
2018420183
repo,

packages/utils/github-helper.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,11 @@ export class GithubHelper {
3838
}
3939

4040

41-
async getIssueList(params?: RestEndpointMethodTypes["issues"]["list"]["parameters"]) {
42-
const { data } = await this.octokit.rest.issues.list({
41+
async getIssueList(params?: RestEndpointMethodTypes["issues"]["listForRepo"]["parameters"]) {
42+
const { data } = await this.octokit.rest.issues.listForRepo({
4343
...params,
4444
owner: this.context.owner,
4545
repo: this.context.repo,
46-
4746
})
4847
return data
4948
}

0 commit comments

Comments
 (0)