diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index cbd319b..b6017c0 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -18,10 +18,10 @@ jobs: steps: - name: Fetch recent PR numbers run: | - prs_raw=$(gh pr list --base "new-pr" -L 50 --state open --json number,createdAt,isDraft \ + prs_raw=$(gh pr list --base "new-pr" -L 50 --state open --json number,updatedAt,isDraft \ | jq -r '[.[] | select(.isDraft == false - and .createdAt >= (now - (2 * 24 * 60 * 60) | todate)) + and .updatedAt >= (now - (2 * 24 * 60 * 60) | todate)) | .number] | .[]') prs_list=$(printf '%s\n' $prs_raw | head -30 | paste -sd "," -)