Skip to content

Commit 67f8eaa

Browse files
committed
workflow: backport stale action should mark PRs stale after 14 days
Previously, the backport stale action marked PRs as stale after 21 days of inactivity. This change updates the configuration to mark PRs as stale after 14 days of inactivity, ensuring that stale backport PRs are identified and addressed more promptly. Epic: none Release note: none
1 parent 5b5000c commit 67f8eaa

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/backport-stale.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Mark stale backport requests
22

33
on:
44
schedule:
5+
# Run at 10am UTC daily, except weekends
56
- cron: "0 10 * * 1-4"
67
workflow_dispatch:
78

@@ -12,17 +13,17 @@ jobs:
1213
issues: write
1314
pull-requests: write
1415
steps:
15-
- uses: actions/stale@v3
16+
- uses: actions/stale@v10
1617
with:
1718
operations-per-run: 1000
1819
repo-token: ${{ secrets.GITHUB_TOKEN }}
19-
stale-issue-message: 'Blah'
20-
stale-pr-message: 'Reminder: it has been 3 weeks please merge or close your backport!'
20+
stale-issue-message: 'Ignored'
21+
stale-pr-message: 'Reminder: it has been 2 weeks please merge or close your backport!'
2122
stale-issue-label: 'no-backport-issue-activity'
2223
stale-pr-label: 'no-backport-pr-activity'
2324
close-issue-label: 'X-stale'
2425
close-pr-label: 'X-stale'
25-
days-before-pr-stale: 21
26+
days-before-pr-stale: 14
2627
# Disable this for issues, by setting a very high bar
2728
days-before-issue-stale: 99999
2829
days-before-close: 99999

0 commit comments

Comments
 (0)