Skip to content

Commit

Permalink
cron job
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty1s committed Sep 15, 2021
1 parent ec653be commit 08d2aaf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: "Close stale issues and PRs"

on: [workflow_dispatch]
# schedule:
# # Every day at 00:00
# - cron: "0 0 * * *"
on:
schedule:
# Every day at 00:00
- cron: "0 0 * * *"

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

0 comments on commit 08d2aaf

Please sign in to comment.