This is an automated email from the ASF dual-hosted git repository.

eladkal pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new de67226e3c adjust stale bots (#30321)
de67226e3c is described below

commit de67226e3c95ed886c6841d4aa58aa9fb559a162
Author: eladkal <[email protected]>
AuthorDate: Mon Mar 27 13:35:03 2023 +0300

    adjust stale bots (#30321)
---
 .github/workflows/recheck-old-bug-report.yml | 4 ++--
 .github/workflows/stale.yml                  | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/recheck-old-bug-report.yml 
b/.github/workflows/recheck-old-bug-report.yml
index 6513d6b465..f40997fb73 100644
--- a/.github/workflows/recheck-old-bug-report.yml
+++ b/.github/workflows/recheck-old-bug-report.yml
@@ -23,7 +23,6 @@ on:  # yamllint disable-line rule:truthy
     - cron: '0 7 * * *'
 permissions:
   # All other permissions are set to none
-  pull-requests: write
   issues: write
 jobs:
   recheck-old-bug-report:
@@ -41,7 +40,8 @@ jobs:
           # we set high number of days thus effectively this job will not do 
any changes on PRs
           days-before-pr-stale: 7000
           days-before-pr-close: 7000
-          remove-stale-when-updated: true
+          remove-stale-when-updated: false
+          remove-issue-stale-when-updated: true
           labels-to-add-when-unstale: 'needs-triage'
           stale-issue-message: >
             This issue has been automatically marked as stale because it has 
been open for 365 days
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 1dff613a5e..e0d10d8a14 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -39,6 +39,7 @@ jobs:
           days-before-pr-close: 5
           exempt-pr-labels: 'pinned,security'
           only-issue-labels: 'pending-response'
+          remove-stale-when-updated: true
           days-before-issue-stale: 30
           days-before-issue-close: 7
           stale-issue-message: >

Reply via email to