Skip to content

Commit

Permalink
Merge pull request #923 from CodeForPhilly/lebovits/issu832-flag-stal…
Browse files Browse the repository at this point in the history
…e-prs-and-issues

Lebovits/issu832 flag stale prs and issues
  • Loading branch information
nlebovits authored Oct 1, 2024
2 parents bec96ae + cb8c64b commit 034a172
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/flag-stale-prs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
name: Flag Stale PRs
name: Flag Stale PRs and Issues

on:
schedule:
- cron: '0 0 * * *' # Runs every day at midnight
workflow_dispatch:
inputs:
branch:
description: 'The branch to run this workflow on'
required: true
default: 'main'

jobs:
stale:
Expand All @@ -14,4 +20,6 @@ jobs:
days-before-stale: 7
stale-pr-message: 'This PR has been marked as stale because it has been open for 7 days with no activity.'
stale-pr-label: 'stale'
only-labels: 'backend, frontend'
days-before-issue-stale: 30
stale-issue-message: 'This issue has been marked as stale because it has been open for 30 days with no activity.'
stale-issue-label: 'stale'

0 comments on commit 034a172

Please sign in to comment.