Skip to content

Commit

Permalink
Create stale.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rajveer43 committed Sep 7, 2023
1 parent c7292b4 commit f3eef96
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Mark stale pull requests

on:
schedule:
- cron: "0 0 * * *"

permissions:
pull-requests: write

jobs:
stale:
if: github.repository_owner == 'shishirPatil'

runs-on: ubuntu-latest
timeout-minutes: 2

steps:
- name: "Check PRs"
uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: 'This PR is stale because it has been open for 7 days with no activity.'
stale-pr-label: 'stale'
days-before-issue-stale: -1
days-before-pr-stale: 30
days-before-close: -1
ascending: true
operations-per-run: 120

0 comments on commit f3eef96

Please sign in to comment.