feat: add stale PR dry-run pilot - #45
Merged
Merged
Conversation
Shared Workflows CIShared workflows CI passed. View run output |
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
Adds a temporary repository-local scheduled caller for the stale-PR workflow with
dry-run: true. It is a no-mutation pilot that reports eligible candidates in Actions logs and does not activate the organization-wide rollout.Fixes #
None.
Type of change
Validation
lint.contents: readandpull-requests: read. Final review found no Critical or High findings.dry-run: true; it has no dispatch input, secrets, close API permission, or branch-delete permission.Impact and rollout
Producer:
_stale-pull-requests.ymlis selected by immutable commit SHA.Consumer: this repository only, as a temporary dry-run pilot. The eventual organization-wide caller remains owned by
tfroot-github; it is not authored or distributed here.Delivery stages: authored and submitted.
lintis pending. After merge, the schedule and manual dispatch can report eligible PRs only. Reviewing the resulting log is a manual gate before a broader dry-run expansion. A live caller, PR closure, branch deletion, OpenTofu adoption, and any GitHub Actions dispatch are separate confirmation-gated operations.Rollback: remove or disable this caller through a reviewed PR. Because the caller token is read-only and
dry-runis fixed true, no PR or branch restoration is needed.Safety and secrets
AI-assisted change: owner-approved dry-run pilot. It cannot mutate repository state.