Skip to content

feat: add stale PR dry-run caller - #47

Merged
xnoto merged 1 commit into
mainfrom
feat/stale-pr-dry-run
Sep 9, 2026
Merged

feat: add stale PR dry-run caller#47
xnoto merged 1 commit into
mainfrom
feat/stale-pr-dry-run

Conversation

@xnoto

@xnoto xnoto commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a scheduled and manually dispatchable, read-only stale pull-request candidate report. The caller pins the reusable workflow to e7560bb511468fd800aedbc783d02950d3dff5ca, supplies dry-run: true, and grants only contents: read and pull-requests: read.

Fixes #
N/A — approved organization-wide dry-run rollout.

Type of change

  • CI / reusable workflow

Validation

  • Required pull-request checks pass — pending after PR creation. This caller intentionally runs only on schedule or manual dispatch.
  • Generated or centrally distributed files were regenerated by their owning automation, not hand-edited — N/A; branch-protection-compatible repository-local adoption is temporary pending tfroot-github distribution.

Impact and rollout

No live mutation is possible in this phase. After a separately confirmed merge, the next scheduled run or a separately confirmed manual dispatch must verify reusable-workflow resolution and candidate-only output before any live-mode proposal. No OpenTofu, GitOps, image, or chart artifact changes.

Owner waiver (2026-09-09): approved opening this PR despite the intentional pre-merge resolution gap; GitHub can resolve a schedule/manual reusable caller only after it is on the default branch. This approval does not authorize merging or workflow dispatch. For repositories with an unprotected main, it also waives the protection assumption for review purposes only; a separate explicit merge confirmation remains required.

Rollback: remove .github/workflows/stale-pull-requests.yml.

Safety and secrets

  • Contains no plaintext secrets, decrypted SOPS values, state files, kubeconfigs, tokens, or private endpoints
  • No local OpenTofu init/plan/apply/destroy/import/state operations were run or claimed — plans come from pull-request checks
  • Breaking or irreversible effects are described above with rollback notes

AI-assisted change; review the full workflow diff and pinned producer contract.

@xnoto
xnoto requested a review from a team as a code owner September 9, 2026 07:38
@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown

Image CI passed

Pre-commit validation passed. View the workflow run.

@xnoto
xnoto merged commit fc36aa5 into main Sep 9, 2026
4 checks passed
@xnoto
xnoto deleted the feat/stale-pr-dry-run branch September 9, 2026 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant