Skip to content

Commit 15fb837

Browse files
authored
Update stale.yml
1 parent e229ab8 commit 15fb837

File tree

1 file changed

+2
-30
lines changed

1 file changed

+2
-30
lines changed

.github/workflows/stale.yml

+2-30
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,5 @@
11
name: Mark stale issues and pull requests
22

33
on:
4-
schedule:
5-
- cron: "25 18 * * *"
6-
7-
jobs:
8-
stale:
9-
runs-on: ubuntu-latest
10-
permissions:
11-
issues: write
12-
pull-requests: write
13-
14-
env:
15-
DAYS_BEFORE_STALE: 30 # Define the days-before-stale value
16-
DAYS_BEFORE_CLOSE: 7 # Define the days-before-close value
17-
18-
steps:
19-
- uses: actions/stale@v5
20-
with:
21-
repo-token: ${{ secrets.GITHUB_TOKEN }}
22-
stale-issue-message: |
23-
This issue has been automatically marked as stale due to ${{
24-
env.DAYS_BEFORE_STALE }} days of inactivity.
25-
If no further activity occurs within ${{ env.DAYS_BEFORE_CLOSE }} days, it will be closed automatically. Please take action if this issue is still relevant.
26-
stale-pr-message: |
27-
This pull request has been automatically marked as stale due to ${{
28-
env.DAYS_BEFORE_STALE }} days of inactivity.
29-
If no further activity occurs within ${{ env.DAYS_BEFORE_CLOSE }} days, it will be closed automatically. Please take action if this pull request is still relevant.
30-
stale-issue-label: "no-issue-activity"
31-
stale-pr-label: "no-pr-activity"
32-
days-before-stale: ${{ env.DAYS_BEFORE_STALE }}
33-
days-before-close: ${{ env.DAYS_BEFORE_CLOSE }}
4+
workflow_dispatch:
5+

0 commit comments

Comments
 (0)