mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-22 09:12:13 -05:00
76192e6ae7
Elevated permissions are required to do so. Contributors can create a new pull request based on their branch instead.
37 lines
1.4 KiB
YAML
37 lines
1.4 KiB
YAML
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
|
|
permissions:
|
|
actions: write # required for cache management (see https://github.com/actions/stale/issues/1133)
|
|
pull-requests: write
|
|
steps:
|
|
# replace `uses:` below with upstream actions/stale when https://github.com/actions/stale/issues/1136 is fixed
|
|
- uses: itchyny/actions-stale@0980a21d84c23bd4d8c62b0958f47f25822286f2
|
|
with:
|
|
operations-per-run: 500
|
|
|
|
# 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 open a new pull
|
|
request if you wish to still contribute these changes. Thank you for your contributions!
|