From 08d2aafe6bf69150cacc87e76333635add8d4bb1 Mon Sep 17 00:00:00 2001 From: rusty1s Date: Wed, 15 Sep 2021 20:48:32 +0200 Subject: [PATCH] cron job --- .github/workflows/stale.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 20f4d1d0..878926ef 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -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.'