Skip to content

Commit

Permalink
🐛 修复list错误
Browse files Browse the repository at this point in the history
  • Loading branch information
AnkioTomas committed Apr 10, 2024
1 parent 189eaf2 commit a67e2ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/issue-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const commits = await github.repos.listCommits({
const commits = await github.rest.repos.listCommits({
owner: context.repo.owner,
repo: context.repo.repo,
ref: process.env.GITHUB_SHA
Expand Down

0 comments on commit a67e2ce

Please sign in to comment.