diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2cf780852fe..3ca8631b512 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,6 +49,7 @@ jobs: \.github/workflows/markdownlint*.yml \.github/workflows/refresh-manifests.yml \.github/workflows/apply-test-attributes.yml + \.github/workflows/pr-review-needed.yml - id: compute_version_suffix name: Compute version suffix for PRs diff --git a/.github/workflows/pr-review-needed.yml b/.github/workflows/pr-review-needed.yml index 5cf08758fae..94875747550 100644 --- a/.github/workflows/pr-review-needed.yml +++ b/.github/workflows/pr-review-needed.yml @@ -465,7 +465,16 @@ jobs: tableContent += '### Community Contributions\n\n'; tableContent += generatePRTable(communityPRs, 'No community PRs currently need review.'); - tableContent += '\n_This list is automatically updated every hour._'; + tableContent += '\n_This list is automatically updated every 2 hours._'; + + // If this is a manual workflow_dispatch run, just output the markdown to console + if (context.eventName === 'workflow_dispatch') { + console.log('=== Manual workflow run - Issue body (not updating issue) ==='); + console.log(tableContent); + console.log('=== End of issue body ==='); + console.log('Found ' + prsNeedingReview.length + ' PRs needing review (issue not updated for manual runs)'); + return; + } // Get the current issue const { data: issue } = await github.rest.issues.get({