Skip to content

Commit

Permalink
github: Create stale.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Kai Krakow <[email protected]>
  • Loading branch information
kakra committed Mar 10, 2024
1 parent 74dd867 commit 5ceca37
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/no-response.yml

This file was deleted.

40 changes: 40 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# 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: '20 4 * * *'

jobs:
stale:

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

steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 14
stale-issue-message: 'This issue appears to be stale. We will automatically close it within 30 days of no more activity recorded.'
stale-pr-message: 'This pull request appear to be stale. We will automatically close it within 60 days of no more activity recorded.'
stale-issue-label: '1 | state: waiting for reporter feedback'
stale-pr-label: '1 | state: waiting for reporter feedback'
days-before-close: 60
days-before-issue-close: 30
close-issue-message: >
This issue has been automatically closed because there has been no response
to our request for more information from the original author. With only the
information that is currently in the issue, we don't have enough information
to take action. Please reach out if you have or find the answers we need so
that we can investigate further.
close-pr-message: >
This pull request has been automatically closed because there has been no
activity from the original author. Please reach out if you have or find the
answers we need so that we can investigate further.

0 comments on commit 5ceca37

Please sign in to comment.