forked from ls1intum/Artemis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Development
: Add GitHub bot to mark pull requests as stale (ls1intu…
- Loading branch information
Showing
2 changed files
with
39 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Stale | ||
on: | ||
schedule: | ||
- cron: "0 12 * * *" | ||
|
||
jobs: | ||
stale: | ||
if: github.repository_owner == 'ls1intum' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check for stale PRs | ||
uses: actions/stale@v5 | ||
with: | ||
days-before-stale: 7 | ||
days-before-close: 14 | ||
# Disable issue checking, only PR | ||
days-before-issue-stale: -1 | ||
remove-stale-when-updated: true | ||
stale-pr-label: "stale" | ||
exempt-pr-labels: "no-stale" | ||
stale-pr-message: > | ||
There hasn't been any activity on this pull request recently. | ||
Therefore, this pull request has been automatically marked as stale | ||
and will be closed if no further activity occurs within **seven** days. | ||
Thank you for your contributions. |
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