You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by vo...@apache.org on 2024/01/22 09:40:31 UTC

(lucene) branch main updated: [Minor] Document operation costs for stale workflow (#13000)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 3674e779cb3 [Minor] Document operation costs for stale workflow (#13000)
3674e779cb3 is described below

commit 3674e779cb34257e48a687039e74708d18a6d92a
Author: Stefan Vodita <41...@users.noreply.github.com>
AuthorDate: Mon Jan 22 09:40:25 2024 +0000

    [Minor] Document operation costs for stale workflow (#13000)
---
 .github/workflows/stale.yml | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 472e29f9f38..698caa7b7d0 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -33,5 +33,18 @@ jobs:
           If the PR is waiting for review, notify the dev@lucene.apache.org list.
           Thank you for your contribution!
 
-        operations-per-run: 500       # operations budget
         debug-only: false             # turn on to run the action without applying changes
+        operations-per-run: 500       # operations budget
+
+# The table shows the cost in operations of all combinations of stale / not-stale for a PR.
+# Processing a non-PR issue takes 0 operations, since we don't perform any action on it.
+#
+#                            +-----------------------+
+#            number of       |  state after workflow |
+#           operations       +-----------+-----------+
+#                            |   stale   | not stale |
+#     +----------+-----------+-----------+-----------+
+#     |  state   |   stale   |     3     |     4     |
+#     |  before  +-----------+-----------+-----------+
+#     | workflow | not stale |     5     |     1     |
+#     +----------+-----------+-----------+-----------+