Skip to content

Commit

Permalink
Add stale issue/pr tracker, remove code-review workflow (slackhq#794)
Browse files Browse the repository at this point in the history
Co-authored-by: Bryan Burkholder <[email protected]>
  • Loading branch information
bryanlb and bryanlb authored Mar 6, 2024
1 parent 0cf2bb6 commit 0233fbb
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/code-review.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

# Closes stale issues and PRs
# https://github.com/marketplace/actions/close-stale-issues

name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'

permissions:
contents: write # only for delete-branch option
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days.'
days-before-issue-stale: 180
days-before-issue-close: 30
stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 3 days.'
days-before-pr-stale: 30
days-before-pr-close: 3

0 comments on commit 0233fbb

Please sign in to comment.