diff --git a/.github/workflows/package_for_test.yml b/.github/workflows/package_for_test.yml index d453d6066a..63c5a74a7f 100644 --- a/.github/workflows/package_for_test.yml +++ b/.github/workflows/package_for_test.yml @@ -15,10 +15,10 @@ jobs: - name: Check without commit after comment uses: actions/github-script@v7 env: - ISSUE_ID: ${{github.event.issue.id}} + ISSUE_NUMBER: ${{github.event.issue.number}} with: script: | - const { ISSUE_ID } = process.env + const { ISSUE_NUMBER } = process.env let page = 1 let findComment = false let endOfData = false @@ -26,7 +26,7 @@ jobs: const { data: timelines } = await github.rest.issues.listEventsForTimeline({ owner: context.repo.owner, repo: context.repo.repo, - issue_number: ISSUE_ID, + issue_number: ISSUE_NUMBER, page, per_page: 100, })