Repository navigation
Conversation
Alternative proposal to 5-day triage auto-close (apacheGH-55884 / PR apache#55885), modeled on mitchellh/vouch and adapted for Apache Arrow / ASF CI constraints. Files: - .github/VOUCHED.td: Flat-text trust list (vouched handles and -denounced handles, case-insensitive sorted, compatible with mitchellh/vouch). - .github/workflows/vouch.yml: Hourly scheduled + workflow_dispatch job closing recent (<=24h) open PRs from unvouched first-time contributors or denounced users, while allowing OWNER/MEMBER/COLLABORATOR, existing CONTRIBUTORs, vouched users, and bots. - .github/workflows/vouch_manage.yml: issue_comment automation allowing maintainers/collaborators to run /vouch, /unvouch, and /denounce on issues or PRs to update .github/VOUCHED.td with [skip ci]. ASF / Arrow design choices: - Uses actions/github-script@v9 only (no third-party actions). - Uses a scheduled workflow instead of pull_request_target for PR checks. - Compares trade-offs vs 5-day triage auto-close: zero 5-day untriaged PR backlog and explicit opt-in via issue discussion, at the cost of requiring pre-vouching for legitimate cold PRs and writes to .github/VOUCHED.td (which may need a dedicated branch/repo or PR flow if main rulesets disallow workflow pushes).
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.
Rationale for this change
Alternative proposal to the 5-day triage auto-close workflow (apache#55885), modeled on mitchellh/vouch and adapted for Apache Arrow / ASF CI constraints.
What changes are included in this PR?
.github/VOUCHED.td: Flat-text trust list (vouched handles and-denouncedhandles, sorted case-insensitively, compatible withmitchellh/vouch)..github/workflows/vouch.yml: Hourlyschedule+workflow_dispatchjob closing recent (<=24h) open PRs from unvouched first-time contributors or denounced accounts, while allowingOWNER/MEMBER/COLLABORATOR, existingCONTRIBUTORs (unless denounced), vouched users, and bots..github/workflows/vouch_manage.yml:issue_commentworkflow enabling maintainers and collaborators to run/vouch,/unvouch, and/denounceon issues or PRs to update.github/VOUCHED.tdwith[skip ci]and serialized concurrency.ASF / Arrow design choices
actions/github-script@v9only (no third-party GitHub Actions).pull_request_targetfor PR checks.[skip ci]on.github/VOUCHED.tdupdates to avoid triggering CI onmain(can alternatively target a dedicated branch/repo or open a PR if branch rulesets disallow direct workflow pushes).Trade-offs vs. 5-day triage auto-close (apache#55885)
/denounceblocks across PRs..github/VOUCHED.td.