Skip to content

Commit 08d2aaf

Browse files
committed
cron job
1 parent ec653be commit 08d2aaf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/stale.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: "Close stale issues and PRs"
22

3-
on: [workflow_dispatch]
4-
# schedule:
5-
# # Every day at 00:00
6-
# - cron: "0 0 * * *"
3+
on:
4+
schedule:
5+
# Every day at 00:00
6+
- cron: "0 0 * * *"
77

88
jobs:
99
stale:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/stale@v2.0.0
12+
- uses: actions/stale@v4.0.0
1313
with:
1414
repo-token: ${{ secrets.GITHUB_TOKEN }}
1515
stale-issue-message: 'This issue had no activity for **6 months**. It will be closed in **2 weeks** unless there is some new activity.'

0 commit comments

Comments
 (0)