forked from SerenityOS/serenity
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (33 loc) · 1.34 KB
/
stale.yml
File metadata and controls
39 lines (33 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: 'Close stale PRs'
on:
# Run daily at 01:30.
schedule:
- cron: '30 1 * * *'
# Allows you to run this workflow manually from the Actions tab on GitHub.
workflow_dispatch:
jobs:
stale:
runs-on: ubuntu-24.04
if: github.repository == 'SerenityOS/serenity'
permissions:
actions: write # required for cache management (see https://github.com/actions/stale/issues/1133)
pull-requests: write
steps:
- uses: actions/stale@v10
with:
operations-per-run: 30
exempt-pr-labels: "⛔ pr-is-blocked"
# Leave issues alone.
days-before-issue-stale: -1
days-before-issue-close: -1
# PRs become stale after 21 days of inactivity.
days-before-pr-stale: 21
stale-pr-label: stale
stale-pr-message: >
This pull request has been automatically marked as stale because it has not had recent activity. It will be
closed in 7 days if no further activity occurs. Thank you for your contributions!
# PRs get closed after 30 days (21 + 7) of inactivity
days-before-pr-close: 7
close-pr-message: >
This pull request has been closed because it has not had recent activity. Feel free to re-open if you wish
to still contribute these changes. Thank you for your contributions!