Skip to content

Commit dd2d0f2

Browse files
committedMay 21, 2023
adds stale workflow and increases releases kept
1 parent 225b97d commit dd2d0f2

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed
 

‎.github/workflows/release-cleanup.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
steps:
2323
- uses: dev-drprasad/delete-older-releases@v0.2.0
2424
with:
25-
keep_latest: 16
25+
keep_latest: 32
2626
delete_tag_pattern: build
2727
env:
2828
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

‎.github/workflows/stale.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
2+
#
3+
# You can adjust the behavior by modifying this file.
4+
# For more information, see:
5+
# https://github.com/actions/stale
6+
name: Mark stale issues and pull requests
7+
8+
on:
9+
schedule:
10+
- cron: '30 1 * * *'
11+
12+
jobs:
13+
stale:
14+
15+
runs-on: ubuntu-latest
16+
permissions:
17+
issues: write
18+
pull-requests: write
19+
20+
steps:
21+
- uses: actions/stale@v5
22+
with:
23+
repo-token: ${{ secrets.GITHUB_TOKEN }}
24+
days-before-issue-stale: 60
25+
stale-issue-label: 'no-issue-activity'
26+
stale-issue-message: >
27+
This issue is stale because it has been open for 60 days with no activity.
28+
It will be closed if no further activity occurs. Thank you.
29+
days-before-pr-stale: 365
30+
stale-pr-label: 'no-pr-activity'
31+
stale-pr-message: >
32+
This PR is stale because it has been open for 365 days with no activity.
33+
It will be closed if no further activity occurs. Thank you.

0 commit comments

Comments
 (0)
Please sign in to comment.