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})