From a38ca869f57f4c9dfb89f428a45bd2b78429ebb2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Mar 2026 06:09:23 +0000 Subject: [PATCH 1/2] Initial plan From c6afc5291b840c000222dca144f003848e5b030a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Mar 2026 06:16:37 +0000 Subject: [PATCH 2/2] Fix empty issue_number causing double // in GitHub API URL for createComment Co-authored-by: pancetta <7158893+pancetta@users.noreply.github.com> --- .github/workflows/arxiv_to_publications_correct.yml | 2 +- .github/workflows/issue_to_bib.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/arxiv_to_publications_correct.yml b/.github/workflows/arxiv_to_publications_correct.yml index 4bf0b348..d336bda9 100644 --- a/.github/workflows/arxiv_to_publications_correct.yml +++ b/.github/workflows/arxiv_to_publications_correct.yml @@ -40,4 +40,4 @@ jobs: with: github-token: ${{secrets.GITHUB_TOKEN}} script: | - github.rest.issues.createComment({...context.issue, body: process.env.COMMENT}) + github.rest.issues.createComment({...context.repo, issue_number: context.issue.number, body: process.env.COMMENT}) diff --git a/.github/workflows/issue_to_bib.yml b/.github/workflows/issue_to_bib.yml index aebac703..dbf270fa 100644 --- a/.github/workflows/issue_to_bib.yml +++ b/.github/workflows/issue_to_bib.yml @@ -40,4 +40,4 @@ jobs: with: github-token: ${{secrets.GITHUB_TOKEN}} script: | - github.rest.issues.createComment({...context.issue, body: process.env.COMMENT}) + github.rest.issues.createComment({...context.repo, issue_number: context.issue.number, body: process.env.COMMENT})