From 1454374b25483448e6daf10160e7ec5f71df6652 Mon Sep 17 00:00:00 2001 From: Thales Macedo Garitezi Date: Mon, 3 Jan 2022 11:20:23 -0300 Subject: [PATCH] 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" ...