From 1454374b25483448e6daf10160e7ec5f71df6652 Mon Sep 17 00:00:00 2001 From: Thales Macedo Garitezi Date: Mon, 3 Jan 2022 11:20:23 -0300 Subject: [PATCH 1/2] ci(stale): avoid spending operations on pull requests We are interested in using stale actions only for issues, and currently there's no clear/clean way of making it not enumerate pull requests. As a workaround, we attempt to minimize the number of operations spent on pull requests by making it run only on pull requests which have an inexistent tag, thus skipping all PRs. --- .github/workflows/stale.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index 0be30117a..080fd9e5d 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -27,5 +27,7 @@ jobs: This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. + # we don't want stalebot to analyze pull requests + only-pr-labels: "ZZZDisabledZZZ" ... From f947bf6f98928ac0de57a01a2867f2d4d7180d5d Mon Sep 17 00:00:00 2001 From: Thales Macedo Garitezi Date: Mon, 3 Jan 2022 13:25:10 -0300 Subject: [PATCH 2/2] ci(stale): increase number of operations per run Since we currently have lots of issues, this may help with reaching the 2nd page of issues. --- .github/workflows/stale.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml index 080fd9e5d..df96f1804 100644 --- a/.github/workflows/stale.yaml +++ b/.github/workflows/stale.yaml @@ -29,5 +29,6 @@ jobs: for your contributions. # we don't want stalebot to analyze pull requests only-pr-labels: "ZZZDisabledZZZ" + operations-per-run: 80 ...