Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ed25519 upstream check #666

Merged
merged 1 commit into from
Nov 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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