Skip to content

Commit c6afc52

Browse files
Copilotpancetta
andcommitted
Fix empty issue_number causing double // in GitHub API URL for createComment
Co-authored-by: pancetta <7158893+pancetta@users.noreply.github.com>
1 parent a38ca86 commit c6afc52

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/arxiv_to_publications_correct.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ jobs:
4040
with:
4141
github-token: ${{secrets.GITHUB_TOKEN}}
4242
script: |
43-
github.rest.issues.createComment({...context.issue, body: process.env.COMMENT})
43+
github.rest.issues.createComment({...context.repo, issue_number: context.issue.number, body: process.env.COMMENT})

.github/workflows/issue_to_bib.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ jobs:
4040
with:
4141
github-token: ${{secrets.GITHUB_TOKEN}}
4242
script: |
43-
github.rest.issues.createComment({...context.issue, body: process.env.COMMENT})
43+
github.rest.issues.createComment({...context.repo, issue_number: context.issue.number, body: process.env.COMMENT})

0 commit comments

Comments
 (0)