ci: synchronize pull request review and stale automation - #1
Merged
Conversation
Member
Author
|
@Oxxyg3n Test delta for this PR:
|
Oxxyg33n
marked this pull request as ready for review
September 3, 2026 09:41
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PRs in this repository need consistent review status and inactivity handling. Install the custom labeler from wallester/monorepo at 42aff24cf293, with event-driven, daily, and manual refresh for existing open PRs.
Review labels distinguish waiting for review, waiting for final review, changes required, and ready for merge. Drafts have review labels removed. The configured threshold is 2 approvals, based on this repository's inspected default-branch protection and rulesets; GitHub's live review decision remains an additional gate. The action pins GitHub Script, clears obsolete review labels, and skips PRs closed while a refresh was queued.
Adds stale-PR handling. After merge, PRs (including drafts) are marked stale after 7 inactive days and closed after 7 further days.
keep-openexempts a PR; activity resets the timer; branches are preserved. Required labels are created by the workflow. Manual stale runs default to a non-mutating dry run.Validation
node --test github-actions/pr-review-labeler/action.test.cjs: 32 scenarios passed, covering review decisions, reviewer permissions, current-head approvals, dismissals, drafts, legacy labels, queued closures, target selection, and stale-label dry runs.actionlintv1.7.12: all three workflow files passed.Rollout and rollback
Merge to enable this repository's workflows; no default branch, branch protection, merge, or existing PR closure is performed by this draft PR. Daily/manual review refresh backfills existing PRs. Fork/Dependabot review events are reconciled by daily/manual runs because their review-event tokens are read-only. Review labels are advisory; checks, conflicts, code owners, and branch protection still control merging.
Disable the workflow or revert this commit to stop it. Existing labels persist; closed PRs can be reopened manually. The initial label backfill may update PR activity once; unchanged labels are not rewritten. The daily refresh supports up to 256 open PRs per repository through a GitHub job matrix (current inventory maximum: 60).