Skip to content

Commit

Permalink
create stale.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandmann79 authored May 7, 2024
1 parent 60b881c commit 97df508
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests

on:
schedule:
- cron: '17 12 * * *'

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been marked as stale because there has been no activity for more than 6 months. If no update is made, this issue will be closed in 14 days.'
stale-pr-message: 'This pull request has been marked as stale because there has been no activity for more than 6 months. If no update is made, this pull request will be closed in 14 days.'
stale-issue-label: 'stale'
stale-pr-label: 'stale'
exempt-issue-labels: 'enhancement,help wanted'
days-before-stale: 180
days-before-close: 14
exempt-all-milestones: true

0 comments on commit 97df508

Please sign in to comment.