Skip to content

Commit

Permalink
Merge pull request #666 from jku/fix-ed25519-upstream-check
Browse files Browse the repository at this point in the history
Fix ed25519 upstream check
  • Loading branch information
lukpueh authored Nov 23, 2023
2 parents acb84c5 + fe4b578 commit 5a46c08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-upstream-ed25519.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ jobs:
console.log("ed25519 upstream main has changed!")
console.log("${{ steps.test_ed25519.outputs.output }}")
const repo = context.repo.owner + "/" + context.repo.repo
const issues = await github.search.issuesAndPullRequests({
const issues = await github.rest.search.issuesAndPullRequests({
q: "ed25519+upstream+has+new+commits+in:title+state:open+type:issue+repo:" + repo,
})
if (issues.data.total_count > 0) {
console.log("Issue is already open, not creating.")
} else {
console.log("Creating a new issue...")
await github.issues.create({
await github.rest.issues.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: "ed25519 upstream has new commits",
Expand Down

0 comments on commit 5a46c08

Please sign in to comment.