Skip to content

Commit

Permalink
🔧 (workflow): 硬编码 GitHub 仓库所有者和仓库名称
Browse files Browse the repository at this point in the history
将 `GITHUB_REPOSITORY_OWNER` 和 `GITHUB_REPOSITORY` 替换为硬编码的 "AutoAccountingOrg" 和 "AutoRule",以简化配置。
  • Loading branch information
AnkioTomas committed Dec 18, 2024
1 parent cc50745 commit 0288835
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/testRule.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ async function processAll () {
const token = process.env.GITHUB_TOKEN;
const octokit = new Octokit({ auth: token });
const { data: issues } = await octokit.rest.issues.listForRepo({
owner: process.env.GITHUB_REPOSITORY_OWNER,
repo: process.env.GITHUB_REPOSITORY.split('/')[1],
owner: "AutoAccountingOrg",
repo: "AutoRule",
state: 'open'
});

Expand Down

0 comments on commit 0288835

Please sign in to comment.