Skip to content

Commit 968e176

Browse files
authored
Merge pull request #1055 from Parallel-in-Time/copilot/fix-trailing-comma-issue
Fix HTTP 404 in issue comment step due to missing `issue_number`
2 parents 9494afb + c6afc52 commit 968e176

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)