Skip to content

Commit

Permalink
[skip ci]
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
yanguoyu committed Jun 12, 2024
1 parent 58596ac commit 7ecf6d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/package_for_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ 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
while(!endOfData) {
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,
})
Expand Down

0 comments on commit 7ecf6d1

Please sign in to comment.