-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add stale bot to manage the Issues/PRs automatically (#28)
- Inactive Issues that are labeled with 'awaiting-feedback' will get marked as 'stale' after a period of time, then closed - Inactive PRs that are not in draft, or labeled with 'work-in-progress' or 'dependencies' will get marked as 'stale' after a period of time, then closed - Added dependabot support for GitHub Actions to keep our actions up-to-date Signed-off-by: Antal János Monori <[email protected]>
- Loading branch information
1 parent
4191a01
commit c0b127b
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Maintenance | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
on: | ||
schedule: | ||
- cron: '30 1 * * *' | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v4 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
stale-issue-message: 'This issue has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you for your contributions.' | ||
close-issue-message: 'This issue has now been closed. Please raise a new Issue instead of re-opening existing ones, unless you believe this was closed by accident.' | ||
days-before-issue-stale: 31 | ||
days-before-issue-close: 7 | ||
stale-issue-label: 'stale' | ||
only-issue-labels: 'awaiting-feedback' | ||
exempt-issue-labels: 'confirmed' | ||
|
||
stale-pr-message: 'This pull request has been automatically marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. Thank you for your contributions.' | ||
close-pr-message: 'This pull request has now been closed. If you want to continue working on it or you believe it has been closed by accident, feel free to re-open it.' | ||
days-before-pr-stale: 31 | ||
days-before-pr-close: 7 | ||
stale-pr-label: 'stale' | ||
exempt-pr-labels: 'work-in-progress,dependencies' | ||
exempt-draft-pr: true |