Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 82b076b

Browse files
committedNov 15, 2023
Introduce stale workflow
1 parent 44d6cd3 commit 82b076b

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
 

‎.github/workflows/stale.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# This workflow warns of PRs that have had no activity for a specified amount of time.
2+
#
3+
# For more information, see:
4+
# https://github.com/actions/stale
5+
name: Mark stale pull requests
6+
7+
on:
8+
# Or run on demand
9+
workflow_dispatch:
10+
# Run every day at 00:00 UTC
11+
schedule:
12+
- cron: '0 0 * * *'
13+
pull_request:
14+
types: [opened, reopened]
15+
16+
jobs:
17+
stale:
18+
19+
runs-on: ubuntu-latest
20+
permissions:
21+
pull-requests: write
22+
23+
steps:
24+
- uses: actions/stale@v5
25+
with:
26+
repo-token: ${{ secrets.GITHUB_TOKEN }}
27+
days-before-pr-stale: 0
28+
stale-pr-message: >
29+
This PR has not had activity in the past 2 weeks, labeling it as stale.
30+
If the PR is waiting for review, notify the dev@lucene.apache.org list.
31+
Thank you for your contribution!
32+
stale-pr-label: 'no-pr-activity'

0 commit comments

Comments
 (0)
Please sign in to comment.