From fa9c62d959a866badc243e6726e45935a54e530a Mon Sep 17 00:00:00 2001 From: "Matt Wicks [SSW]" Date: Thu, 21 Mar 2024 17:30:12 +1100 Subject: [PATCH] Update pr-manage-stale.yml Commented out scheduled cron jobs as it fires very frequently, and new projects generally have no need to gamify quick PRs immediately --- .github/workflows/pr-manage-stale.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pr-manage-stale.yml b/.github/workflows/pr-manage-stale.yml index 40cc312..256c9e4 100644 --- a/.github/workflows/pr-manage-stale.yml +++ b/.github/workflows/pr-manage-stale.yml @@ -5,13 +5,13 @@ name: "PR - Manage Stale PRs" on: pull_request: - types: [opened, ready_for_review] + types: [opened, ready_for_review, closed] branches: [main] - schedule: - # run every 2nd hour - # https://crontab.guru/#0_0/2_*_*_* - - cron: "0 0/2 * * *" + # schedule: + # # run every 2nd hour + # # https://crontab.guru/#0_0/2_*_*_* + # - cron: "0 0/2 * * *" workflow_dispatch: @@ -157,4 +157,4 @@ jobs: } env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}