Skip to content

Commit

Permalink
Add a workflow to close stale issues
Browse files Browse the repository at this point in the history
Summary: If the proxygen team needs author input to progress an issue, we will mark it need-input.  If an issue has been marked need-input with no action from the author in 2 weeks, the issue will auto close.

Reviewed By: kvtsoy

Differential Revision: D62988294

fbshipit-source-id: 085d57a0d99c4501f465f87b1b83ee109081cca7
  • Loading branch information
afrind authored and facebook-github-bot committed Sep 18, 2024
1 parent 3988dee commit ea9a59c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions third-party/proxygen/src/.github/workflows/close_stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Close inactive issues
on:
schedule:
- cron: "30 1 * * *"

jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/stale@v5
with:
days-before-issue-stale: -1
days-before-issue-close: 14
stale-issue-label: "need-input"
stale-issue-message: "This issue is stale because it has been open too long with no activity."
close-issue-message: "This issue was closed because it has been inactive for two weeks since being marked as need-input."
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ea9a59c

Please sign in to comment.